Explorar el Código

get permentant meterial title

master
Patrick Peng Sun hace 8 años
padre
commit
ee93237056
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. +6
    -0
      material_test.go

+ 6
- 0
material_test.go Ver fichero

@@ -9,6 +9,12 @@ func TestGetMaterialNewsList(t *testing.T) {
SetupConfig()
l := getNewList()
log.Printf("news is : %s", l)
nl := unmarshalNewsList(l)
for k, v := range nl.Items {
log.Printf("%d - message \n", k)
log.Printf("title=%s", v.Content.NewsItem[0].Title)
}

}
func TestGetMaterialVoiceList(t *testing.T) {
SetupConfig()

Cargando…
Cancelar
Guardar