Skip to content

[BUG] zc doesn't report error when executing the unknown command zc test #409

Description

@forchid

Describe the bug
zc doesn't report error when executing the unknown command zc test.

To Reproduce

the test

zenc\lang> zc test simple-test.zc
   Compiling simple-test.zc
    Finished build in 0.19s
zenc\lang>

the source

test "simple" {
    assert(1 == 0, "1 == 0?")
}

Expected behavior
zc should report the command test not unknown instead of compiling passes.

Screenshots
No.

Environment (please complete the following information):

  • OS: Windows 10 x64.
  • Zen C Version: v0.4.4.
  • Compiler: GCC 15.

Additional context
No.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions