Skip to content

Commit

Permalink
groot/rcmd: add tests for POD data files
Browse files Browse the repository at this point in the history
Fixes #859.
  • Loading branch information
sbinet committed Feb 14, 2022
1 parent 2a34461 commit e16891d
Show file tree
Hide file tree
Showing 5 changed files with 2,840 additions and 0 deletions.
8 changes: 8 additions & 0 deletions groot/rcmd/dump_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,14 @@ key[002]: dsrc;1 "input for TLimit routines" (TLimitDataSource) => ignoring key
key[003]: eff;1 "efficiency" (TEfficiency) => ignoring key of type *rhist.Efficiency
`,
},
{
name: "../testdata/pod.root",
want: loadRef("testdata/pod.root.txt"),
},
{
name: "../testdata/pod-advanced.root",
want: loadRef("testdata/pod-advanced.root.txt"),
},
} {
t.Run(tc.name, func(t *testing.T) {
got := new(strings.Builder)
Expand Down
Loading

0 comments on commit e16891d

Please sign in to comment.