mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
test: make gen test output less verbose
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
01633d410f
commit
c8e0f75132
@ -2,7 +2,6 @@ package generator
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"os/exec"
|
||||
@ -283,6 +282,6 @@ func (s *GeneratorTestSuite) TestGenerationFiles() {
|
||||
assert.NoError(s.T(), err)
|
||||
out, err := ioutil.ReadFile(outPath.Name())
|
||||
assert.NoError(s.T(), err)
|
||||
assert.EqualValues(s.T(), gold, out, fmt.Sprintf("%v: %v, expected: %v", test.name, string(out), string(gold)))
|
||||
assert.Equal(s.T(), string(gold), string(out))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user