From afcbcf5cc93f5076bbd3063b2e6d22d40305916f Mon Sep 17 00:00:00 2001 From: Min Date: Mon, 7 Oct 2024 21:02:10 +0800 Subject: [PATCH] chore: use ./testdata/example-in.ttml link: https://github.com/asticode/go-astisub/pull/117#discussion_r1790088428 --- testdata/example-in-no-indent.ttml | 1 - ttml_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 testdata/example-in-no-indent.ttml diff --git a/testdata/example-in-no-indent.ttml b/testdata/example-in-no-indent.ttml deleted file mode 100644 index 88d7947..0000000 --- a/testdata/example-in-no-indent.ttml +++ /dev/null @@ -1 +0,0 @@ -Copyright testTitle test

(deep rumbling)

MAN:

How did we end up here?

This place is horrible.

Smells like balls.

We don't belong

in this shithole.

(computer playing

electronic melody)

diff --git a/ttml_test.go b/ttml_test.go index 0f75d2e..0f0ac77 100644 --- a/ttml_test.go +++ b/ttml_test.go @@ -71,7 +71,7 @@ func TestTTMLBreakLines(t *testing.T) { func TestWriteToTTMLWithIndentOption(t *testing.T) { // Open - s, err := astisub.OpenFile("./testdata/example-in-no-indent.ttml") + s, err := astisub.OpenFile("./testdata/example-in.ttml") assert.NoError(t, err) // Write