Skip to content

Commit

Permalink
Fix windows build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
prakanth97 committed Mar 21, 2024
1 parent a537e99 commit 22cc23a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
# These are Windows script files and should use crlf
*.bat text eol=crlf

# Ensure all Java files use LF.
*.java eol=lf
5 changes: 2 additions & 3 deletions ballerina/tests/from_json_string_test.bal
Original file line number Diff line number Diff line change
Expand Up @@ -1368,16 +1368,15 @@ isolated function testUnalignedJsonContent() returns error? {
{
"a"
:
"h
ello",
"hello",
"b":
1
}`;
record {|
string a;
int b;
|} val = check parseString(jsonStr);
test:assertEquals(val.a, "h\nello");
test:assertEquals(val.a, "hello");
test:assertEquals(val.b, 1);
}

Expand Down

0 comments on commit 22cc23a

Please sign in to comment.