mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Remove packageid
This commit is contained in:
1 parent
82a19afd4a
commit
6236e7205f
14 files changed
+87
-209
No files matched your search
@@ -59,8 +59,6 @@ func compareToWuffsfmt(tm *t.Map, tokens []t.Token, comments []string, src strin
|
||||
func TestCheck(tt *testing.T) {
|
||||
const filename = "test.wuffs"
|
||||
src := strings.TrimSpace(`
|
||||
packageid "test"
|
||||
|
||||
pri struct foo(
|
||||
i base.i32,
|
||||
)
|
||||
@@ -205,7 +203,7 @@ func TestConstValues(tt *testing.T) {
|
||||
|
||||
tm := &t.Map{}
|
||||
for s, wantInt64 := range testCases {
|
||||
src := "packageid \"test\"\npri func foo() {\n\t" + s + "\n}\n"
|
||||
src := "pri func foo() {\n\t" + s + "\n}\n"
|
||||
|
||||
tokens, _, err := t.Tokenize(tm, filename, []byte(src))
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user