Approval-based snapshot testing library for Go (mirror)
1---
2title: Structure with Empty Values
3test_name: TestStructureWithEmptyValues
4file_name: shutter_test.go
5version: 0.1.0
6---
7[]shutter_test.Container{
8 {
9 Items: []string{
10 },
11 Tags: map[string]string{
12 },
13 OptionalID: (*int)(nil),
14 Count: 0,
15 Active: false,
16 },
17 {
18 Items: []string(nil),
19 Tags: map[string]string(nil),
20 OptionalID: (*int)(nil),
21 Count: 0,
22 Active: true,
23 },
24 {
25 Items: []string{"a", "b", "c"},
26 Tags: map[string]string{
27 "env": "dev",
28 "type": "test",
29 },
30 OptionalID: &int(42),
31 Count: 3,
32 Active: true,
33 },
34}