Skip to content

Commit

Permalink
test(tools): remove unneeded CRLF filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Blaginov committed Mar 9, 2023
1 parent aee6d66 commit 1616e7a
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,26 +441,22 @@ describe('ProtobufVisitor', function () {
);

assert.equal(
writer.data.get('concerto.metamodel.v0_4_0.proto')
.replace(/\r\n/g, '\n'),
writer.data.get('concerto.metamodel.v0_4_0.proto'),
expectedMetamodelProtobuf.replace(/\r\n/g, '\n')
);

assert.equal(
writer.data.get('org.accordproject.commonmark.v0_5_0.proto')
.replace(/\r\n/g, '\n'),
writer.data.get('org.accordproject.commonmark.v0_5_0.proto'),
expectedCommonmarkProtobuf.replace(/\r\n/g, '\n')
);

assert.equal(
writer.data.get('org.accordproject.party.v0_2_0.proto')
.replace(/\r\n/g, '\n'),
writer.data.get('org.accordproject.party.v0_2_0.proto'),
expectedApapPartyProtobuf.replace(/\r\n/g, '\n')
);

assert.equal(
writer.data.get('org.accordproject.protocol.v1_0_0.proto')
.replace(/\r\n/g, '\n'),
writer.data.get('org.accordproject.protocol.v1_0_0.proto'),
expectedApapProtocolProtobuf.replace(/\r\n/g, '\n')
);
});
Expand Down

0 comments on commit 1616e7a

Please sign in to comment.