@@ -2,6 +2,7 @@ package main
22
33import (
44 "io"
5+ "log"
56 "testing"
67
78 "github.com/TibiaData/tibiadata-api-go/src/static"
@@ -28,9 +29,11 @@ func TestFindPerson(t *testing.T) {
2829 assert := assert .New (t )
2930 spell := findPersonJson .Spell
3031
32+ log .Print (spell )
33+
3134 assert .Empty (spell .Description )
3235 assert .Equal ("Find Person" , spell .Name )
33- assert .Equal ("find person " , spell .Spell )
36+ assert .Equal ("findperson " , spell .Spell )
3437 assert .True (spell .HasSpellInformation )
3538 assert .NotNil (spell .SpellInformation )
3639 assert .Equal ("exiva 'name'" , spell .SpellInformation .Formula )
@@ -78,7 +81,7 @@ func TestHeavyMagicMissileRune(t *testing.T) {
7881
7982 assert .Empty (spell .Description )
8083 assert .Equal ("Heavy Magic Missile Rune" , spell .Name )
81- assert .Equal ("heavy magic missile rune " , spell .Spell )
84+ assert .Equal ("heavymagicmissilerune " , spell .Spell )
8285 assert .True (spell .HasSpellInformation )
8386 assert .NotNil (spell .SpellInformation )
8487 assert .Equal ("adori vis" , spell .SpellInformation .Formula )
@@ -180,7 +183,7 @@ func TestBruiseBane(t *testing.T) {
180183
181184 assert .Empty (spell .Description )
182185 assert .Equal ("Bruise Bane" , spell .Name )
183- assert .Equal ("bruise bane " , spell .Spell )
186+ assert .Equal ("bruisebane " , spell .Spell )
184187 assert .True (spell .HasSpellInformation )
185188 assert .NotNil (spell .SpellInformation )
186189 assert .Equal ("exura infir ico" , spell .SpellInformation .Formula )
@@ -223,7 +226,7 @@ func TestCurePoisonRune(t *testing.T) {
223226
224227 assert .Empty (spell .Description )
225228 assert .Equal ("Cure Poison Rune" , spell .Name )
226- assert .Equal ("cure poison rune " , spell .Spell )
229+ assert .Equal ("curepoisonrune " , spell .Spell )
227230 assert .True (spell .HasSpellInformation )
228231 assert .NotNil (spell .SpellInformation )
229232 assert .Equal ("adana pox" , spell .SpellInformation .Formula )
@@ -262,7 +265,7 @@ func TestConvinceCreatureRune(t *testing.T) {
262265
263266 assert .Empty (spell .Description )
264267 assert .Equal ("Convince Creature Rune" , spell .Name )
265- assert .Equal ("convince creature rune " , spell .Spell )
268+ assert .Equal ("convincecreaturerune " , spell .Spell )
266269 assert .True (spell .HasSpellInformation )
267270 assert .NotNil (spell .SpellInformation )
268271 assert .Equal ("adeta sio" , spell .SpellInformation .Formula )
0 commit comments