intentional test fail to test ci

This commit is contained in:
Radu Ioan Fericean
2013-05-23 12:29:26 +03:00
parent ef8e2f32b3
commit d1af53fb1b
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
language: go
script: ./test.sh
script: test.sh
branches:
only: master

View File

@@ -28,7 +28,7 @@ func TestFirstNonEmpty(t *testing.T) {
sampleMap["Third"] = "third"
fourthElmnt := "fourth"
winnerElmnt := FirstNonEmpty(firstElmnt, sampleMap["second"], sampleMap["Third"], fourthElmnt)
if winnerElmnt != sampleMap["Third"] {
if winnerElmnt == sampleMap["Third"] {
t.Error("Wrong elemnt returned: ", winnerElmnt)
}
}