Skip to content

fix: failing unit test assumes dev has bc installed#98

Open
goto-dev-null wants to merge 1 commit into
kdabir:masterfrom
goto-dev-null:fix-failing-unit-test
Open

fix: failing unit test assumes dev has bc installed#98
goto-dev-null wants to merge 1 commit into
kdabir:masterfrom
goto-dev-null:fix-failing-unit-test

Conversation

@goto-dev-null
Copy link
Copy Markdown
Contributor

bc is not installed by all systems by default.

I chose ls because it is part of coreutils which is included in nearly every system - even Windows (Git Bash, Cygwin, and WSL).

The only systems I know of that don't include ls are things like Busybox systems. If you're trying to develop has on a Busybox system..... ¯\(ツ)

To reproduce

  1. Check out the state of a master
  2. Try to send a Unicode emoji (e.g. bats tests/unit/unit-tests.bats) to get them to calm down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants