mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-10-01 15:46:17 -04:00
text dictionary: removed #2 string from test
This commit is contained in:
parent
4104d9d9ae
commit
3b41f9e89b
@ -1,16 +1,15 @@
|
||||
package d2tbl
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"testing"
|
||||
)
|
||||
|
||||
func exampleData() *TextDictionary {
|
||||
result := &TextDictionary{
|
||||
"abc": "def",
|
||||
"someStr": "Some long string",
|
||||
// #2 is non-named (X: OK)
|
||||
// so 2 is an index in map
|
||||
"#2": "OK",
|
||||
"abc": "def",
|
||||
"someStr": "Some long string",
|
||||
"teststring": "TeStxwsas123 long strin122*8:wq",
|
||||
}
|
||||
|
||||
@ -26,6 +25,8 @@ func TestTBL_Marshal(t *testing.T) {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
fmt.Println(newTbl)
|
||||
|
||||
for key, value := range *tbl {
|
||||
newValue, ok := newTbl[key]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user