Skip to content

Commit

Permalink
Force color in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack committed Aug 24, 2020
1 parent becb948 commit 63098a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: build
on: [push]
env:
TERM: xterm-256color
FORCE_COLOR: 3 # Maximum colors

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion src/ascii_art.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ mod test {

assert_eq!(
Tokens("").render(&colors_shim, 0, 0, true),
"\u{1b}[1;37m\u{1b}[0m"
"\u{1b}[1;37mtest\u{1b}[0m"
);

assert_eq!(
Expand Down

0 comments on commit 63098a7

Please sign in to comment.