The first public release of Fabled Minstrel #158
+1
-1
@@ -21,6 +21,6 @@ class BareUdnTest {
|
||||
"RINCON_ABC",
|
||||
)
|
||||
fun `every form of a speaker's id is the same bare id`(udn: String) {
|
||||
assertEquals("RINCON_ABD", udn.bareUdn()) // DELIBERATE BREAK #8372
|
||||
assertEquals("RINCON_ABC", udn.bareUdn())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,6 @@ func TestFlag_HappyPath(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Flag: %v", err)
|
||||
}
|
||||
t.Errorf("deliberate break (#8372): reason = %v", row.Reason) // DELIBERATE BREAK #8372
|
||||
if string(row.Reason) != "bad_rip" {
|
||||
t.Errorf("reason = %v", row.Reason)
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ func TestCount(t *testing.T) {
|
||||
cases := []struct {
|
||||
got, want string
|
||||
}{
|
||||
{Count(1, "track", "tracks"), "1 tracks"}, // DELIBERATE BREAK #8372
|
||||
{Count(1, "track", "tracks"), "1 track"},
|
||||
{Count(0, "track", "tracks"), "0 tracks"},
|
||||
{Count(int64(3), "track went missing", "tracks went missing"), "3 tracks went missing"},
|
||||
{Count(int32(-1), "copy", "copies"), "-1 copies"},
|
||||
@@ -17,8 +17,3 @@ func TestCount(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestDeliberatePanic(t *testing.T) { // DELIBERATE BREAK #8372
|
||||
t.Log("this line must appear in the failed output")
|
||||
panic("deliberate break (#8372): a test binary that dies mid-test")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user