Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit e1d4e68

Browse files
author
Cesar Blum Silveira
committed
Add more test cases.
1 parent cbe89d8 commit e1d4e68

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/Microsoft.AspNetCore.Server.KestrelTests/FrameResponseHeadersTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ private static long ParseLong(string value)
269269
"00",
270270
"042",
271271
"42",
272+
long.MaxValue.ToString(CultureInfo.InvariantCulture)
272273
};
273274

274275
public static TheoryData<string> BadContentLengths => new TheoryData<string>
@@ -278,6 +279,11 @@ private static long ParseLong(string value)
278279
" 42",
279280
"42 ",
280281
"bad",
282+
"!",
283+
"!42",
284+
"42!",
285+
"42,000",
286+
"42.000",
281287
};
282288
}
283289
}

0 commit comments

Comments
 (0)