Skip to content

Commit 4d6586d

Browse files
committed
Rename BodyWithoutRuby to BodyWithoutHtml
1 parent 6b6ca44 commit 4d6586d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

news.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type News struct {
99
Outline string
1010
OutlineWithRuby string
1111
Body string
12-
BodyWithoutRuby string
12+
BodyWithoutHtml string
1313
Url string
1414
M3u8Url string
1515
ImageUrl string

news_fetcher_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
)
99

1010
func TestFetchNews(t *testing.T) {
11-
startDate := time.Date(2022, 8, 8, 0, 0, 0, 0, time.UTC)
12-
endDate := time.Date(2022, 8, 8, 23, 59, 59, 0, time.UTC)
11+
startDate := time.Date(2022, 10, 28, 0, 0, 0, 0, time.UTC)
12+
endDate := time.Date(2022, 10, 28, 23, 59, 59, 0, time.UTC)
1313
newsList, err := FetchNews(startDate, endDate)
1414

1515
assert.True(t, len(newsList) > 0)

0 commit comments

Comments
 (0)