Last active
June 3, 2021 14:43
-
-
Save wperron/77ba7b170799cc7b925c1734b38624e1 to your computer and use it in GitHub Desktop.
test PR #948
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { assertEquals } from "./testing/asserts.ts"; | |
Deno.test("a", () => { | |
assertEquals("lorem ipsum something foobar baz", "lorem ipsum some other thing foobar baz"); | |
}); | |
Deno.test("aa", () => { | |
assertEquals("this is different from the other string", "lorem ipsum some other thing foobar baz"); | |
}); | |
Deno.test("b", () => { | |
const expected = `foobar | |
blueberry muffin | |
banana pancake`; | |
const actual = `foobar | |
strawberry shortcake | |
banana pancake`; | |
assertEquals(actual, expected); | |
}); | |
Deno.test("c", () => { | |
const expected = `foobar | |
strawberry pie | |
keylime sorbet | |
banana pancake`; | |
const actual = `foobar | |
strawberry shortcake | |
blueberry muffin | |
banana pancake`; | |
assertEquals(actual, expected); | |
}); | |
Deno.test("d", () => { | |
const expected = { | |
str: "lorem ipsum something foobar baz", | |
}; | |
const actual = { | |
str: "lorem ipsum some other thing foobar baz", | |
}; | |
assertEquals(actual, expected); | |
}); | |
Deno.test("e", () => { | |
const expected = ["lorem ipsum something foobar baz"]; | |
const actual = ["lorem ipsum some other thing foobar baz"]; | |
assertEquals(actual, expected); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment