Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
srsholmes committed Feb 24, 2018
1 parent e03a194 commit a19e658
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions __tests__/colors_spec.re
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ let () =
)
|> toBe(changeColor(Red, "Hello") ++ " World")
);
test(
"hightlightKeyword should return string if no options are passed", () =>
expect(highlightKeyword(None, "Hello World")) |> toBe("Hello World")
);
}
)
);
13 changes: 8 additions & 5 deletions lib/js/__tests__/colors_spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a19e658

Please sign in to comment.