Skip to content

Commit

Permalink
Merge pull request #469 from zong-zhe/run-non-k
Browse files Browse the repository at this point in the history
fix: add a test case for compile non-k file
  • Loading branch information
Peefy committed Aug 28, 2024
2 parents 51b9862 + 3cb933a commit a4e3061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2134,6 +2134,9 @@ func TestRunLocalWithArgs(t *testing.T) {
filepath.Join(pkgPath, "with_args", "run_12", "sub1", "main.k"),
filepath.Join(pkgPath, "with_args", "run_12", "sub2", "main.k"),
}, []string{}, "", false, "", "sub1: 1\nsub2: 2"},
{[]string{
filepath.Join(pkgPath, "with_args", "run_13", "temp"),
}, []string{}, "", false, "", "temp: non-k-file"},
}

for _, test := range tests {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
temp = "non-k-file"

0 comments on commit a4e3061

Please sign in to comment.