mirror of https://github.com/joho/godotenv.git
add newline back
parent
fccdfd265d
commit
6e653f9adf
|
@ -447,6 +447,7 @@ func TestWrite(t *testing.T) {
|
|||
writeAndCompare("foo=bar\nbaz=buzz", "baz=\"buzz\"\nfoo=\"bar\"")
|
||||
// integers should not be quoted
|
||||
writeAndCompare(`key="10"`, `key=10`)
|
||||
|
||||
}
|
||||
|
||||
func TestRoundtrip(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue