test: fix gcc test

This commit is contained in:
Amin Yahyaabadi 2021-09-16 09:56:49 -05:00
parent ae4c6ebf2f
commit dc5ab1bf50
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ describe("setup-gcc", () => {
it("should setup gcc", async () => {
await setupGcc("", "", "")
const { status } = spawn("gcc", {
const { status } = spawn("g++", ["--version"], {
encoding: "utf8",
})
expect(status).toBe(0)