-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(modifier): rename
stringify
pre modifier to string
- Loading branch information
1 parent
599940f
commit 1d61e93
Showing
7 changed files
with
33 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright 2021-Present the Unitest authors. All rights reserved. MIT license. | ||
|
||
import { string } from "./string.ts"; | ||
import { assertEquals } from "../dev_deps.ts"; | ||
import type { PreModifierContext } from "./types.ts"; | ||
|
||
Deno.test("string", () => { | ||
assertEquals(string.type, "pre"); | ||
assertEquals(string.fn(1, {} as PreModifierContext), { actual: "1" }); | ||
assertEquals(string.fn("test", {} as PreModifierContext), { | ||
actual: "test", | ||
}); | ||
assertEquals(string.fn(null, {} as PreModifierContext), { | ||
actual: "null", | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.