deno.land / x / froebel@v0.23.2 / prefix.test.ts

prefix.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import prefix from "./prefix.ts";import { assertEquals } from "testing/asserts.ts";
Deno.test("prefix", () => { const pre1: "foobar" = prefix("foo", "bar"); assertEquals(pre1, "foobar");
const pre2: "fooBar" = prefix("foo", "bar", "camel"); assertEquals(pre2, "fooBar");
const pre3: "foo_bar" = prefix("foo", "bar", "snake"); assertEquals(pre3, "foo_bar");});
froebel

Version Info

Tagged at
a year ago