@@ -11,15 +11,16 @@ import (
1111)
1212
1313type SnapshotSuite struct {
14- Name string `yaml:"name,omitempty"`
15- Command string `yaml:"command,omitempty"`
16- ConfigFileName string `yaml:"config_file_name,omitempty"`
17- Config string `yaml:"config_content,omitempty"`
18- InitSnapshot []SnapshotData `yaml:"init_snapshot,omitempty"`
19- ExpectedSnapshot []SnapshotData `yaml:"expected_snapshot,omitempty"`
20- ExpectedStdOut string `yaml:"expected_stdout,omitempty"`
21- ExpectedStdErr string `yaml:"expected_stderr,omitempty"`
22- ReplaceStdOutContent []ReplaceStdOutContent `yaml:"replace_stdout_content,omitempty"`
14+ Name string `yaml:"name,omitempty"`
15+ Command string `yaml:"command,omitempty"`
16+ ConfigFileName string `yaml:"config_file_name,omitempty"`
17+ Config string `yaml:"config_content,omitempty"`
18+ InitSnapshot []SnapshotData `yaml:"init_snapshot,omitempty"`
19+ ExpectedSnapshot []SnapshotData `yaml:"expected_snapshot,omitempty"`
20+ ExpectedStdOut string `yaml:"expected_stdout,omitempty"`
21+ ExpectedStdErr string `yaml:"expected_stderr,omitempty"`
22+ ReplaceStdOutContent []ReplaceStdContent `yaml:"replace_stdout_content,omitempty"`
23+ ReplaceStdErrContent []ReplaceStdContent `yaml:"replace_stderr_content,omitempty"`
2324}
2425
2526type SnapshotData struct {
@@ -28,7 +29,7 @@ type SnapshotData struct {
2829 Content string `yaml:"content"`
2930}
3031
31- type ReplaceStdOutContent struct {
32+ type ReplaceStdContent struct {
3233 Search string `yaml:"search"`
3334 Replace string `yaml:"replace"`
3435}
0 commit comments