summaryrefslogtreecommitdiff
path: root/compat/json/borrowed_stream_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'compat/json/borrowed_stream_test.go')
-rw-r--r--compat/json/borrowed_stream_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/compat/json/borrowed_stream_test.go b/compat/json/borrowed_stream_test.go
index d90898b..d50898a 100644
--- a/compat/json/borrowed_stream_test.go
+++ b/compat/json/borrowed_stream_test.go
@@ -363,8 +363,6 @@ func TestBlocking(t *testing.T) {
}
}
-//nolint:dupword // False positive, this is commented-out code, not a real comment. // MODIFIED: added nolint declaration
-/* // MODIFIED: we don't have tokens
type tokenStreamCase struct {
json string
expTokens []any
@@ -446,6 +444,8 @@ var tokenStreamCases = []tokenStreamCase{
}
func TestDecodeInStream(t *testing.T) {
+ t.Parallel() // MODIFIED: added
+ t.Skip("we don't have tokens") // MODIFIED: added
for ci, tcase := range tokenStreamCases {
dec := NewDecoder(strings.NewReader(tcase.json))
@@ -479,7 +479,6 @@ func TestDecodeInStream(t *testing.T) {
}
}
}
-*/ // MODIFIED: we don't have tokens
// Test from golang.org/issue/11893
func TestHTTPDecoding(t *testing.T) {