Skip to content

Commit

Permalink
Re-enabled accidentally disabled tests
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Mar 5, 2014
1 parent ca271b7 commit 45b97ab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions properties_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,19 @@ var complexTests = [][]string{
// {"input", "expected error message"}
var errorTests = [][]string{
// unicode literals
// {"key\\u1 = value", "Invalid unicode literal"},
// {"key\\u12 = value", "Invalid unicode literal"},
// {"key\\u123 = value", "Invalid unicode literal"},
// {"key\\u123g = value", "Invalid unicode literal"},
// {"key\\u123", "Invalid unicode literal"},
{"key\\u1 = value", "Invalid unicode literal"},
{"key\\u12 = value", "Invalid unicode literal"},
{"key\\u123 = value", "Invalid unicode literal"},
{"key\\u123g = value", "Invalid unicode literal"},
{"key\\u123", "Invalid unicode literal"},

// circular references
// {"key=${key}", "Circular reference"},
// {"key1=${key2}\nkey2=${key1}", "Circular reference"},
{"key=${key}", "Circular reference"},
{"key1=${key2}\nkey2=${key1}", "Circular reference"},

// malformed expressions
{"key=${ke", "Malformed expression"},
// {"key=valu${ke", "Malformed expression"},
{"key=valu${ke", "Malformed expression"},
}

// define write encoding test cases in the form of
Expand Down

0 comments on commit 45b97ab

Please sign in to comment.