chore: keep the re-landed feature files showroom-safe
Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Secret scan (gitleaks) (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Secret scan (gitleaks) (pull_request) Successful in 4s
Tests / Test (Go stable) (pull_request) Successful in 1m21s
Tests / Test (Go 1.25) (pull_request) Successful in 1m27s
Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Secret scan (gitleaks) (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Secret scan (gitleaks) (pull_request) Successful in 4s
Tests / Test (Go stable) (pull_request) Successful in 1m21s
Tests / Test (Go 1.25) (pull_request) Successful in 1m27s
The conversion / link / sheet commits predate the tree cleanup, so their comments and README/test examples still carried internal refs. Re-apply the genericization (no internal hosts, personal names or client file ids).
This commit is contained in:
+3
-3
@@ -17,7 +17,7 @@ func TestWorkbookSheetExport(t *testing.T) {
|
||||
_ = f.SetCellValue("first", "B2", 30)
|
||||
_, _ = f.NewSheet("second")
|
||||
_ = f.SetCellValue("second", "A1", "city")
|
||||
_ = f.SetCellValue("second", "A2", "Lisbon")
|
||||
_ = f.SetCellValue("second", "A2", "Berlin")
|
||||
var buf bytes.Buffer
|
||||
if err := f.Write(&buf); err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -34,7 +34,7 @@ func TestWorkbookSheetExport(t *testing.T) {
|
||||
t.Fatalf("sheet0 csv=%q err=%v", csv0, err)
|
||||
}
|
||||
csv1, err := WorkbookSheetCSV(data, 1, 0)
|
||||
if err != nil || !strings.Contains(csv1, "Lisbon") || strings.Contains(csv1, "Alice") {
|
||||
if err != nil || !strings.Contains(csv1, "Berlin") || strings.Contains(csv1, "Alice") {
|
||||
t.Fatalf("sheet1 csv=%q err=%v", csv1, err)
|
||||
}
|
||||
// negative index = first sheet
|
||||
@@ -44,7 +44,7 @@ func TestWorkbookSheetExport(t *testing.T) {
|
||||
}
|
||||
|
||||
js, err := WorkbookSheetJSON(data, 1)
|
||||
if err != nil || len(js) != 1 || js[0]["city"] != "Lisbon" {
|
||||
if err != nil || len(js) != 1 || js[0]["city"] != "Berlin" {
|
||||
t.Fatalf("sheet1 json=%#v err=%v", js, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user