Skip to content

Commit

Permalink
fix module test (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
JalonSolov authored Oct 5, 2024
1 parent 56e24c1 commit 20feea4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.v
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn (mut app App) gen(s string) {
}

fn (mut app App) generate_v_code(go_file GoFile) string {
app.genln('module ${go_file.package_name.name}\n')
app.genln('module ${app.go2v_ident(go_file.package_name.name)}\n')

for decl in go_file.decls {
match decl {
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions tests/module/module.vv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module fn_
1 change: 0 additions & 1 deletion untested/module/module.vv

This file was deleted.

0 comments on commit 20feea4

Please sign in to comment.