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