first working build

This commit is contained in:
César Gallego Rodríguez
2019-09-04 10:59:30 +02:00
parent 7961ed1089
commit bc0ca07dc2
6 changed files with 48 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
package banner
func Banner() string {
return "KAPOW!!!"
}
+11
View File
@@ -0,0 +1,11 @@
package banner
import "testing"
func TestBanner(t *testing.T) {
ban := Banner()
if ban != "KAPOW!!!" {
t.Errorf("Banner expected KAPOW!!!, but got %v", ban)
t.Fail()
}
}