- t failing unit test

This commit is contained in:
Nitsan Avni committed 2023-12-23 18:18:38 +01:00
1 parent 56ca5bf411
commit 4490aaa5fd
3 files changed
+57 -3

No files matched your search

+32 -2
View File
@@ -1,4 +1,34 @@
A pure "function", so this works:
# Requirements
`bash` and friends (`diff`, `grep`, `cat`)
# (Failing) Unit Test
```shell
./unit_test.sh
```
# Texttest Fixture
```shell
./texttest_fixture.sh
```
Specify days:
```shell
./texttest_fixture.sh 30
```
Verify againt `ThirtyDays/stdout.gr`
```shell
./verify.sh
```
## BTW
BTW, the script is a pure "function", so this works:
```shell
$ echo -e 'Aged Brie,3,5\nOther Item,4,5' |\
@@ -7,4 +37,4 @@ $ echo -e 'Aged Brie,3,5\nOther Item,4,5' |\
./gilded_rose.sh
Aged Brie,0,8
Other Item,1,2
```
```