mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
intentional test fail to test ci
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
language: go
|
||||
|
||||
script: ./test.sh
|
||||
script: test.sh
|
||||
|
||||
branches:
|
||||
only: master
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user