From 53745d4b9fb9ad99f58947860ebce31a015968d8 Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Mon, 22 Feb 2016 18:24:24 +0100 Subject: [PATCH] Commit a missing file. --- stub/badsignal.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 stub/badsignal.go diff --git a/stub/badsignal.go b/stub/badsignal.go new file mode 100644 index 00000000..6c3347b7 --- /dev/null +++ b/stub/badsignal.go @@ -0,0 +1,11 @@ +package stub + +type BadSignal struct { + Error error +} + +func (bs BadSignal) String() string { + return "bad signal:" + bs.Error.Error() +} + +func (BadSignal) Signal() {}