aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/magefile/mage/mg/errors_test.go
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2018-07-01 20:38:18 +0000
committerChristine Dodrill <me@christine.website>2018-07-01 20:38:18 +0000
commit6197f455f695eb959a932e15dc417c1b50a2255b (patch)
treeeb90c08ea8e688894b033668587635c6e350f13d /vendor/github.com/magefile/mage/mg/errors_test.go
parentb0e0b108231f9b71eebe68d8e9b99ca2846b4534 (diff)
downloadxesite-6197f455f695eb959a932e15dc417c1b50a2255b.tar.xz
xesite-6197f455f695eb959a932e15dc417c1b50a2255b.zip
vgo
Diffstat (limited to 'vendor/github.com/magefile/mage/mg/errors_test.go')
-rw-r--r--vendor/github.com/magefile/mage/mg/errors_test.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/vendor/github.com/magefile/mage/mg/errors_test.go b/vendor/github.com/magefile/mage/mg/errors_test.go
deleted file mode 100644
index ac5e68f..0000000
--- a/vendor/github.com/magefile/mage/mg/errors_test.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package mg
-
-import "testing"
-
-func TestFatalExit(t *testing.T) {
- expected := 99
- code := ExitStatus(Fatal(expected))
- if code != expected {
- t.Fatalf("Expected code %v but got %v", expected, code)
- }
-}
-
-func TestFatalfExit(t *testing.T) {
- expected := 99
- code := ExitStatus(Fatalf(expected, "boo!"))
- if code != expected {
- t.Fatalf("Expected code %v but got %v", expected, code)
- }
-}