Sfoglia il codice sorgente

get permentant meterial title

master
Patrick Peng Sun 8 anni fa
parent
commit
ee93237056
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +6
    -0
      material_test.go

+ 6
- 0
material_test.go Vedi File

@@ -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()

Loading…
Annulla
Salva