mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 09:09:01 +00:00
Add test
This commit is contained in:
parent
c8caec573a
commit
eaf1bbe5c9
1 changed files with 13 additions and 0 deletions
|
|
@ -144,6 +144,19 @@ bar = baz
|
|||
};
|
||||
expect(actual).toEqual(expected);
|
||||
});
|
||||
|
||||
it("allows quotes around values", () => {
|
||||
const actual = parseIni(`
|
||||
[foo]
|
||||
bar = "baz"
|
||||
`);
|
||||
const expected = {
|
||||
foo: {
|
||||
bar: "baz"
|
||||
}
|
||||
};
|
||||
expect(actual).toEqual(expected);
|
||||
});
|
||||
});
|
||||
|
||||
test("normalize", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue