Skip to content

Commit b264aba

Browse files
fix test-declaration and move misplaced comment
1 parent 522672a commit b264aba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/DotNetEnv.Tests/Helper/UnicodeChars.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
namespace DotNetEnv.Tests.Helper;
22

3+
4+
// C# wow that you can't handle 32 bit unicode as chars. wow. strings for 4 byte chars.
35
public struct UnicodeChars
46
{
57
// https://stackoverflow.com/questions/602912/how-do-you-echo-a-4-digit-unicode-character-in-bash

test/DotNetEnv.Tests/ParserTests.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public void Utf16CharShouldParseUntilEnd(string expected, string input) =>
9292
public void Utf32CharShouldParseUntilEnd(string expected, string input) =>
9393
Assert.Equal(expected, Parsers.Utf32Char.AtEnd().Parse(input));
9494

95+
[Theory]
9596
[InlineData("\b", "\\b")]
9697
[InlineData("'", "\\'")]
9798
[InlineData("\"", "\\\"")]
@@ -477,7 +478,5 @@ public void ParseDotenvFileShouldParseContents(string _, string contents, KeyVal
477478
[InlineData("EV_DNE=0\n1")]
478479
public void ParseDotenvFileShouldThrowOnContents(string invalidContents) =>
479480
Assert.Throws<ParseException>(() => Parsers.ParseDotenvFile(invalidContents));
480-
481-
// C# wow that you can't handle 32 bit unicode as chars. wow. strings for 4 byte chars.
482481
}
483482
}

0 commit comments

Comments
 (0)