import { remultiline } from "../src/primitives";

describe("remultiline", () => {
    it("correctly splits strings by newline", () => {
        const testString = "this\nis\na\ntest\n";
        const multilined = remultiline(testString);
        expect(multilined).toBe(["this", "is", "a", "test"]);
    })
})
import { remultiline } from "../src/primitives";

describe("remultiline", () => {
    it("correctly splits strings by newline", () => {
        const testString = "this\nis\na\ntest\n";
        const multilined = remultiline(testString);
        expect(multilined).toEqual(["this\n", "is\n", "a\n", "test\n"]);
    })
})
Fix equality check for tests
Fix equality check for tests
