Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 633b390

Browse files
authored
Update parse_test.go
1 parent 60399ab commit 633b390

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

claat/parser/md/parse_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ func TestParseMetadata(t *testing.T) {
171171
Tags: []string{"kiosk", "web"},
172172
Feedback: "https://www.google.com",
173173
GA: "12345",
174+
GA4: "54321",
174175
Extra: map[string]string{},
175176
}
176177

@@ -181,6 +182,7 @@ summary: abcdefghij
181182
categories: not, really
182183
environments: kiosk, web
183184
analytics_account: 12345
185+
analytics_ga4_account: 54321
184186
feedback_link: https://www.google.com
185187
186188
---
@@ -204,6 +206,7 @@ func TestParseMetadataPassMetadata(t *testing.T) {
204206
Tags: []string{"kiosk", "web"},
205207
Feedback: "https://www.google.com",
206208
GA: "12345",
209+
GA4: "54321",
207210
Extra: map[string]string{
208211
"extra_field_two": "bbbbb",
209212
},
@@ -216,6 +219,7 @@ summary: abcdefghij
216219
categories: not, really
217220
environments: kiosk, web
218221
analytics_account: 12345
222+
analytics_ga4_account: 54321
219223
feedback_link: https://www.google.com
220224
extra_field_one: aaaaa
221225
extra_field_two: bbbbb
@@ -278,6 +282,7 @@ summary: abcdefghij
278282
categories: not, really
279283
environments: kiosk, web
280284
analytics_account: 12345
285+
analytics_ga4_account: 54321
281286
feedback_link: https://www.google.com
282287
extrafieldone: aaaaa
283288
extrafieldtwo: bbbbb

0 commit comments

Comments
 (0)