File tree Expand file tree Collapse file tree 3 files changed +25
-18
lines changed Expand file tree Collapse file tree 3 files changed +25
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+
5
+ if [ -z " $GITHUB_ACTION " ]; then
6
+ go clean -testcache
7
+ fi
8
+
9
+ set -u
10
+
11
+ go fmt ./...
12
+ go test ./...
13
+
14
+ go build ./ui/
15
+ go build -o /dev/null github.com/cppforlife/go-cli-ui/examples/...
16
+
17
+ echo SUCCESS
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ r2c1|r2c2|
233
233
table .Print (buf )
234
234
Expect ("\n " + buf .String ()).To (Equal (`
235
235
r1c1|r1c2|
236
- ~ ...|r2c2|
236
+ ^ ...|r2c2|
237
237
r3c1|r3c2|
238
238
` ))
239
239
})
@@ -357,9 +357,9 @@ r2c1|r2c2|
357
357
table .Print (buf )
358
358
Expect ("\n " + buf .String ()).To (Equal (`
359
359
dup..|dup|
360
- ~ ....|dup|
360
+ ^ ....|dup|
361
361
dup2.|dup|
362
- ~ ....|dup|
362
+ ^ ....|dup|
363
363
other|dup|
364
364
` ))
365
365
})
@@ -417,9 +417,9 @@ other|dup|
417
417
table .Print (buf )
418
418
Expect ("\n " + buf .String ()).To (Equal (`
419
419
dup.|dup|
420
- ~ ...|dup|
420
+ ^ ...|dup|
421
421
dup2|dup|
422
- ~ ...|dup|
422
+ ^ ...|dup|
423
423
` ))
424
424
})
425
425
@@ -443,9 +443,9 @@ dup2|dup|
443
443
table .Print (buf )
444
444
Expect ("\n " + buf .String ()).To (Equal (`
445
445
dup..|1|
446
- ~ ....|2|
446
+ ^ ....|2|
447
447
dup2.|3|
448
- ~ ....|4|
448
+ ^ ....|4|
449
449
other|5|
450
450
` ))
451
451
})
@@ -463,7 +463,7 @@ other|5|
463
463
table .Print (buf )
464
464
Expect ("\n " + buf .String ()).To (Equal (`
465
465
-|-|
466
- ~ |-|
466
+ ^ |-|
467
467
` ))
468
468
})
469
469
You can’t perform that action at this time.
0 commit comments