Skip to content

Commit

Permalink
std/encoding/json: remove bigHead test
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Dec 5, 2024
1 parent 3a16c70 commit a4cbef0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion std/encoding/json/decode_test.jule
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,14 @@ fn testDecodeByteSlice(t: &testing::T) {
}
}

/*
#test
fn testDecodeBigHead(t: &testing::T) {
mut out := (&encodeTree)(nil)
Decode(bigBytes, out) else {
t.Errorf("Decode(bigBytes) failed")
}
}
}*/

#test
fn testCustomDecode(t: &testing::T) {
Expand Down
3 changes: 2 additions & 1 deletion std/encoding/json/encode_test.jule
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ fn testEncodeByteSlice(t: &testing::T) {
}
}

/*
// Head node of pseudo big JSON.
static mut bigHead = (&encodeTree)(nil)

Expand Down Expand Up @@ -296,7 +297,7 @@ fn testEncodeBigHead(t: &testing::T) {
if !Valid(bigBytes) {
t.Errorf("Valid() returns false for Encode(bigHead)")
}
}
}*/

type abc: int

Expand Down

0 comments on commit a4cbef0

Please sign in to comment.