fix TAG_List<TAG_Compound>

This commit is contained in:
Tnze
2021-05-27 01:03:52 +08:00
parent d0c7a295a5
commit 72599f7058
3 changed files with 11 additions and 4 deletions

View File

@ -9,7 +9,7 @@ func TestSNBT_checkScanCode(t *testing.T) {
//t.SkipNow()
var s scanner
s.reset()
for _, c := range []byte(`[I;1,2,3]`) {
for _, c := range []byte(`[{},{a:1b},{}]`) {
t.Logf("[%c] - %d", c, s.step(c))
}
t.Logf("[%c] - %d", ' ', s.eof())