tests and comments: invented names for real songs and artists the sweep found (#8209)
release / go (push) Successful in 1m57s
release / web (push) Successful in 1m8s
release / integration (push) Successful in 2m42s
release / govulncheck (push) Successful in 20s
release / android (push) Successful in 1m53s
release / Build signed APK (push) Successful in 1m43s
release / Build + push container image (push) Successful in 24s
release / go (push) Successful in 1m57s
release / web (push) Successful in 1m8s
release / integration (push) Successful in 2m42s
release / govulncheck (push) Successful in 20s
release / android (push) Successful in 1m53s
release / Build signed APK (push) Successful in 1m43s
release / Build + push container image (push) Successful in 24s
The Title Case sweep of the export found real song titles and artists in fixtures and comments: three songs from one real album, a real song in a release fixture, real artists in a tag test, a link test and a genre test, a real song as a notification example, and a count from a real folder. Each is now invented. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@ func TestReadFrom_TrimsAStrayZeroAfterAUTF16Frame(t *testing.T) {
|
||||
// the value's byte order mark, the other at the end of the frame.
|
||||
func TestReadFrom_DropsTheStrayZeroAfterEachStringOfACustomField(t *testing.T) {
|
||||
name := append(utf16BE("ARTISTS"), 0)
|
||||
value := utf16BE("Saint Motel")
|
||||
value := utf16BE("Saint Hostel")
|
||||
value = append(value[1:len(value)-2], 0) // no encoding byte, no terminator, a stray zero
|
||||
strayField := append(name, value...)
|
||||
file := id3(4,
|
||||
@@ -81,7 +81,7 @@ func TestReadFrom_DropsTheStrayZeroAfterEachStringOfACustomField(t *testing.T) {
|
||||
t.Fatalf("ReadFrom: %v", err)
|
||||
}
|
||||
field, ok := meta.Raw()["TXXX"].(*tag.Comm)
|
||||
if !ok || field.Description != "ARTISTS" || field.Text != "Saint Motel" {
|
||||
if !ok || field.Description != "ARTISTS" || field.Text != "Saint Hostel" {
|
||||
t.Fatalf("TXXX = %#v", meta.Raw()["TXXX"])
|
||||
}
|
||||
if meta.Genre() != "Pop" || meta.Title() != "Fine Wine" {
|
||||
|
||||
Reference in New Issue
Block a user