Skip to content

Commit 97119d0

Browse files
author
Túlio Ornelas
committed
Add test file for single strings
1 parent f77866f commit 97119d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

extension/src/json-viewer/jsl-format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jsl.format = (function () {
7373
}
7474
}
7575
newJson += currentChar;
76-
76+
7777
newJson += "\n" + repeat(tab, indentLevel + 1);
7878
indentLevel += 1;
7979
} else {

tests/test.onlyString.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"This is a string"

0 commit comments

Comments
 (0)