Skip to content

Commit c87bddf

Browse files
authored
replace multi line string with concat
1 parent 1adec94 commit c87bddf

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎test/RawModule.test.js‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ describe("RawModule", () => {
3030
});
3131

3232
describe("readableIdentifier", () => {
33-
it("returns result of calling provided requestShortener\"s shorten method\
34-
on readableIdentifierStr attribute", () => {
33+
it("returns result of calling provided requestShortener\"s shorten method " +
34+
"on readableIdentifierStr attribute", () => {
3535
const requestShortener = new RequestShortener(path.resolve());
3636
should.exist(myRawModule.readableIdentifier(requestShortener));
3737
});
@@ -42,16 +42,16 @@ describe("RawModule", () => {
4242
});
4343

4444
describe("source", () => {
45-
it("returns a new OriginalSource instance with sourceStr attribute and\
46-
return value of identifier() function provided as constructor arguments",
45+
it("returns a new OriginalSource instance with sourceStr attribute and " +
46+
"return value of identifier() function provided as constructor arguments",
4747
() => {
4848
const originalSource = new OriginalSource(myRawModule.sourceStr, myRawModule.identifier());
4949
myRawModule.useSourceMap = true;
5050
myRawModule.source().should.match(originalSource);
5151
});
5252

53-
it("returns a new RawSource instance with sourceStr attribute provided\
54-
as constructor argument if useSourceMap is falsey", () => {
53+
it("returns a new RawSource instance with sourceStr attribute provided " +
54+
"as constructor argument if useSourceMap is falsey", () => {
5555
const rawSource = new RawSource(myRawModule.sourceStr);
5656
myRawModule.useSourceMap = false;
5757
myRawModule.source().should.match(rawSource);

0 commit comments

Comments
 (0)