Created
April 10, 2021 06:15
-
-
Save hideack/6268af0254ba92320e884bfc3c857e68 to your computer and use it in GitHub Desktop.
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
it("キーワード指定された文字が赤太文字となること", () => { | |
let expectedText = "Hello \u001b[31m\u001b[1mhideack\u001b[22m\u001b[39m. Have a \u001b[31m\u001b[1mnice\u001b[22m\u001b[39m day"; | |
assert.equal(util.decolateText("Hello hideack. Have a nice day"), expectedText, "hideackとniceという単語が赤太文字になっている"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment