Przeglądaj źródła

get permentant meterial title

master
Patrick Peng Sun 8 lat temu
rodzic
commit
ee93237056
1 zmienionych plików z 6 dodań i 0 usunięć
  1. +6
    -0
      material_test.go

+ 6
- 0
material_test.go Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz