stream_file_builder_test.go 256 B

1234567891011121314
  1. package xlsx
  2. import (
  3. "testing"
  4. qt "github.com/frankban/quicktest"
  5. )
  6. func TestRemoveDimensionTag(t *testing.T) {
  7. c := qt.New(t)
  8. out := removeDimensionTag(`<foo><dimension ref="A1:Z20"></dimension></foo>`)
  9. c.Assert("<foo></foo>", qt.Equals, out)
  10. }