diff options
Diffstat (limited to '')
-rw-r--r-- | locusts_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/locusts_test.go b/locusts_test.go new file mode 100644 index 0000000..f38731a --- /dev/null +++ b/locusts_test.go @@ -0,0 +1,13 @@ +package locusts + +import "testing" + +func TestIntroduceLocusts(t *testing.T) { + defer func() { + if r := recover(); r != nil { + t.Errorf("Panic! The locusts are loose!") + } + }() + + IntroduceLocusts() +} |