Skip to content

Commit

Permalink
Update TOML test suite (#661)
Browse files Browse the repository at this point in the history
Ref #658
  • Loading branch information
pelletier committed Nov 9, 2021
1 parent 8683be3 commit 6445159
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion toml_testgen_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by tomltestgen for toml-test ref master on 2021-10-28T18:48:23-05:00
// Generated by tomltestgen for toml-test ref master on 2021-11-08T22:33:24-05:00
package toml_test

import (
Expand Down Expand Up @@ -400,6 +400,11 @@ func TestTOMLTest_Invalid_InlineTable_DoubleComma(t *testing.T) {
testgenInvalid(t, input)
}

func TestTOMLTest_Invalid_InlineTable_DuplicateKey(t *testing.T) {
input := "# Duplicate keys within an inline table are invalid\na={b=1, b=2}\n"
testgenInvalid(t, input)
}

func TestTOMLTest_Invalid_InlineTable_Empty(t *testing.T) {
input := "t = {,}\n"
testgenInvalid(t, input)
Expand Down

0 comments on commit 6445159

Please sign in to comment.