Skip to content

Commit f7d933f

Browse files
bump version (#16)
1 parent cc8ad6d commit f7d933f

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
FROM alpine:3.22
22

3-
RUN apk add --no-cache jq nushell
3+
RUN apk add --no-cache jq curl && \
4+
curl -Lo nu.tgz https://github.com/nushell/nushell/releases/download/0.111.0/nu-0.111.0-x86_64-unknown-linux-musl.tar.gz && \
5+
gunzip nu.tgz && \
6+
tar xvf nu.tar && \
7+
mv nu-0.111.0-x86_64-unknown-linux-musl/nu /usr/bin
8+
49

510
WORKDIR /opt/test-runner
611
COPY . .

bin/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [ $? -eq 0 ]; then
4040
else
4141
status="error"
4242
case "$test_output" in
43-
*"Assertion failed"*)
43+
*"These are not equal"*)
4444
status="fail"
4545
;;
4646
esac
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": 1,
33
"status": "fail",
4-
"message": "Error: x Assertion failed.\n tests.nu:3:14]\n 2 | use assert\n 3 | assert equal (hello) \"Hello, World!\"\n : ^^^^^^^^^^^|^^^^^^^^^^^\n : `-| These are not equal.\n : | Left : '\"Goodbye, Mars!\"'\n : | Right : '\"Hello, World!\"'\n `----"
4+
"message": "Error: nu::shell::error\n\n x These are not equal.\n tests.nu:3:14]\n 2 | use assert\n 3 | assert equal (hello) \"Hello, World!\"\n : ^^^|^^^ ^^^^^^^|^^^^^^^\n : | `-- right: \"Hello, World!\"\n : `-- left: \"Goodbye, Mars!\"\n `----"
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": 1,
33
"status": "fail",
4-
"message": "Error: x Assertion failed.\n tests.nu:4:14]\n 3 | assert equal (two_fer \"Alice\") \"One for Alice, one for me.\"\n 4 | assert equal (two_fer) \"One for you, one for me.\"\n : ^^^^^^^^^^^^^^^^^^|^^^^^^^^^^^^^^^^^\n : `-| These are not equal.\n : | Left : '\"One for foo, one for me.\"'\n : | Right : '\"One for you, one for me.\"'\n `----"
4+
"message": "Error: nu::shell::error\n\n x These are not equal.\n tests.nu:4:14]\n 3 | assert equal (two_fer \"Alice\") \"One for Alice, one for me.\"\n 4 | assert equal (two_fer) \"One for you, one for me.\"\n : ^^^^|^^^^ ^^^^^^^^^^^^^|^^^^^^^^^^^^\n : | `-- right: \"One for you, one for me.\"\n : `-- left: \"One for foo, one for me.\"\n `----"
55
}

0 commit comments

Comments
 (0)