Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#911 Enhance command sysl pb --mode=pb to output binary message #912

Merged
merged 8 commits into from
Jun 24, 2020
Prev Previous commit
Next Next commit
#911 Corrected file name for PB case.
  • Loading branch information
ericzhang6222 committed Jun 23, 2020
commit 6ed7217274101f8245a52d844a0d15ff22bf37ec
4 changes: 2 additions & 2 deletions pkg/pbutil/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func TestPB(t *testing.T) {

unmarshalled := &sysl.Module{}
fs := afero.NewMemMapFs()
filename := "/out.textpb"
filename := "/out.pb"
require.NoError(t, PB(testModule(), filename, fs))
output, err := afero.ReadFile(fs, filename)
require.NoError(t, err)
Expand All @@ -157,7 +157,7 @@ func TestPBNilModule(t *testing.T) {
t.Parallel()

fs := afero.NewMemMapFs()
filename := "/out.textpb"
filename := "/out.pb"
require.Error(t, PB(nil, filename, fs))
syslutil.AssertFsHasExactly(t, fs)
}