<commit_before>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"]);
    })
})<commit_msg>Fix equality check for tests<commit_after>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"]);
    })
})
{'fraction_non_alphanumeric': 0.19197707736389685, 'fraction_numerical': 0.0, 'mean_word_length': 3.509677419354839, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6807974', 'n_tokens_mistral': 239, 'n_tokens_neox': 225, 'n_words': 44}