Skip to content

Commit b89b987

Browse files
committed
Add tests for writer.go
1 parent b9766aa commit b89b987

File tree

15 files changed

+4869
-74
lines changed

15 files changed

+4869
-74
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# The output of go build ./cmd/protoscope
2+
protoscope
3+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ dissassembling with `protoscope`, making edits, and then reassembling with
2525
They may also be used to inspect proto files (or things that look like them.)
2626

2727
For the language specification and basic examples, see [language.txt](/language.txt).
28+
Example disassembly can be found under [./testdata](/testdata).
2829

2930
## Backwards compatibility
3031

scanner_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ func TestScan(t *testing.T) {
543543
0x80, 0x01,
544544
0x46,
545545

546-
0x08, 55 * 2,
546+
0x08, 55*2,
547547
0x11, num2le(1.23),
548548
0x1a, 0x04, "text",
549549
0x35, 0xff, 0xff, 0xff, 0xff,
File renamed without changes.

0 commit comments

Comments
 (0)