Skip to content

Commit

Permalink
relax test for mixed type content
Browse files Browse the repository at this point in the history
Whether to allow mixed type data is contested. Since V2Ray does not use this kind of mix content in array by design, relaxing this test to avoid test break.
toml-lang/toml#553
  • Loading branch information
xiaokangwang committed Oct 21, 2021
1 parent f7ba3d0 commit 37f1b98
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions infra/conf/json/toml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ int = [ 123, 685_230 ]
string = [ "哈哈", "Hello world", "newline newline2" ]
date = [ "2018-02-17" ]
datetime = [ "2018-02-17T15:02:31+08:00" ]
mixed = [ true, false, 1, 0, "hello" ]
1 = 0
true = true
str = "hello"
Expand All @@ -97,7 +96,6 @@ nodeName = "node"
"string": ["哈哈", "Hello world", "newline newline2"],
"date": ["2018-02-17"],
"datetime": ["2018-02-17T15:02:31+08:00"],
"mixed": [true,false,1,0,"hello"],
"1": 0,
"true": true,
"str": "hello"
Expand Down

0 comments on commit 37f1b98

Please sign in to comment.