mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-22 03:21:21 +00:00
test: update context.test.ts
test
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
parent
e3554b2845
commit
7e8f882e8c
@ -99,7 +99,7 @@ describe("get action context", () => {
|
|||||||
{
|
{
|
||||||
name: "with additional options specified",
|
name: "with additional options specified",
|
||||||
inputs: {
|
inputs: {
|
||||||
options: `BUILD_TESTING=ON BUILD_EXAMPLES=ON\nBUILD_DOCS=ON FOO="BAR BAZ"`,
|
options: `BUILD_TESTING=ON BUILD_EXAMPLES=ON\nBUILD_DOCS=ON "FOO=BAR BAZ"`,
|
||||||
},
|
},
|
||||||
expectedContext: {
|
expectedContext: {
|
||||||
configure: {
|
configure: {
|
||||||
@ -150,7 +150,7 @@ describe("get action context", () => {
|
|||||||
"cxx-compiler": "clang++",
|
"cxx-compiler": "clang++",
|
||||||
"c-flags": "-Werror -Wall\n-Wextra",
|
"c-flags": "-Werror -Wall\n-Wextra",
|
||||||
"cxx-flags": "-Werror -Wall\n-Wextra -Wpedantic",
|
"cxx-flags": "-Werror -Wall\n-Wextra -Wpedantic",
|
||||||
options: `BUILD_TESTING=ON BUILD_EXAMPLES=ON\nBUILD_DOCS=ON FOO="BAR BAZ"`,
|
options: `BUILD_TESTING=ON BUILD_EXAMPLES=ON\nBUILD_DOCS=ON "FOO=BAR BAZ"`,
|
||||||
args: `-Wdev -Wdeprecated\n--fresh --foo "bar baz"`,
|
args: `-Wdev -Wdeprecated\n--fresh --foo "bar baz"`,
|
||||||
"run-build": "true",
|
"run-build": "true",
|
||||||
"build-args": `--target foo\n--parallel 8 --foo "bar baz"`,
|
"build-args": `--target foo\n--parallel 8 --foo "bar baz"`,
|
||||||
|
Loading…
Reference in New Issue
Block a user