.
This commit is contained in:
@@ -8,10 +8,12 @@ func TestParseProjectMeta(t *testing.T) {
|
||||
res, err := parseProjectMeta([]byte(metaPrjData))
|
||||
|
||||
if err != nil {
|
||||
return t.Fatal(err)
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if res.
|
||||
if len(res.BuildFlags.Contents) < 1 {
|
||||
t.Fatalf("Build flags are not as expected")
|
||||
}
|
||||
}
|
||||
|
||||
func TestParsingOfBuildResults(t *testing.T) {
|
||||
@@ -29,7 +31,7 @@ func TestParsingOfBuildResults(t *testing.T) {
|
||||
}
|
||||
|
||||
if res.Result[0].Binaries[0].Package != "Nudoku" ||
|
||||
len(res.Result[0].Binaries[0].Binary) != 0 {
|
||||
len(res.Result[0].Binaries[0].Binary) != 0 {
|
||||
|
||||
t.Fatal(res.Result[0].Binaries[0])
|
||||
}
|
||||
|
Reference in New Issue
Block a user