From 2551461a14acf449cc1ae0b70d9d30ebad170991 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 14 May 2024 16:37:12 -0500 Subject: Add Go Signed-off-by: Matt Strapp --- locusts_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 locusts_test.go (limited to 'locusts_test.go') 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() +} -- cgit v1.2.3