diff --git a/inline_test.go b/inline_test.go index 250300c..8c8d8ad 100644 --- a/inline_test.go +++ b/inline_test.go @@ -15,6 +15,19 @@ func TestEmphasis(t *testing.T) { doTestsInlineParam(t, tests, TestParams{}) } +// TODO: to fix this we would have to update IsPunctuation() to handle +// `—` which looks like `-` but is a unicode 3-byte thingy and +// currently IsPunctuation() only handles 1-byte ascii +func Disabled_TestBug309(t *testing.T) { + var tests = []string{ + `*f*—`, + "

f

\n", + } + p := TestParams{} + p.extensions = parser.NoIntraEmphasis + doTestsInlineParam(t, tests, p) +} + func TestReferenceOverride(t *testing.T) { var tests = []string{ "test [ref1][]\n", diff --git a/s/run_tests.ps1 b/s/run_tests.ps1 index d5573c8..1512d02 100644 --- a/s/run_tests.ps1 +++ b/s/run_tests.ps1 @@ -1,5 +1,10 @@ go clean -testcache -go test -race -v . -go test -race -v ./ast -go test -race -v ./html -go test -race -v ./parser +#go test -race -v . +#go test -race -v ./ast +#go test -race -v ./html +#go test -race -v ./parser + +go test -v . +go test -v ./ast +go test -v ./html +go test -v ./parser