Skip to content

Commit 22cc23a

Browse files
committed
Fix windows build failure
1 parent a537e99 commit 22cc23a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
# These are Windows script files and should use crlf
88
*.bat text eol=crlf
99

10+
# Ensure all Java files use LF.
11+
*.java eol=lf

ballerina/tests/from_json_string_test.bal

+2-3
Original file line numberDiff line numberDiff line change
@@ -1368,16 +1368,15 @@ isolated function testUnalignedJsonContent() returns error? {
13681368
{
13691369
"a"
13701370
:
1371-
"h
1372-
ello",
1371+
"hello",
13731372
"b":
13741373
1
13751374
}`;
13761375
record {|
13771376
string a;
13781377
int b;
13791378
|} val = check parseString(jsonStr);
1380-
test:assertEquals(val.a, "h\nello");
1379+
test:assertEquals(val.a, "hello");
13811380
test:assertEquals(val.b, 1);
13821381
}
13831382

0 commit comments

Comments
 (0)