diff --git a/Makefile b/Makefile index cbf7b67..1b7a5f4 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +export PATH := /usr/local/opt/bash/bin/:$(PATH) + install: scripts/make install @@ -8,4 +10,7 @@ fix: scripts/make fix test: - scripts/test \ No newline at end of file + scripts/test + +build: + cargo build \ No newline at end of file diff --git a/scripts/test b/scripts/test index 10edfe9..e8a0fba 100755 --- a/scripts/test +++ b/scripts/test @@ -4,6 +4,4 @@ set -euo pipefail export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)" source "${NAVI_HOME}/scripts/install" -export PATH="/usr/local/opt/bash/bin/:${PATH}" - "${NAVI_HOME}/tests/run" \ No newline at end of file diff --git a/tests/core.bash b/tests/core.bash index e4d9dc9..ea102f0 100644 --- a/tests/core.bash +++ b/tests/core.bash @@ -48,7 +48,6 @@ test::equals() { local -r actual="$(cat)" local -r expected="$(echo "${1:-}")" - local -r actual2="$(echo "$actual" | test::_escape)" local -r expected2="$(echo "$expected" | test::_escape)"