Skip to content

Commit

Permalink
Add backslash to round-trip config test
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonHughes committed Oct 13, 2021
1 parent 482a9c1 commit 0e55a7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Hocon.Configuration.Test/ConfigurationSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public void Config_should_be_serializable()
foo{
bar.biz = 12
baz = ""quoted""
some.string: ""with a backslash (\\) in it""
}");
var serialized = JsonConvert.SerializeObject(config);
var deserialized = JsonConvert.DeserializeObject<Config>(serialized);
Expand Down

0 comments on commit 0e55a7c

Please sign in to comment.