From 2f31d78df53cfd624ca39e98a00d7adb544a23ef Mon Sep 17 00:00:00 2001 From: fdai7775 Date: Fri, 2 Feb 2024 11:52:47 +0000 Subject: [PATCH] enable webide terminal --- .gitlab/.gitlab-webide.yml | 9 +++++++++ test/test_tictactoe.c | 1 + 2 files changed, 10 insertions(+) create mode 100644 .gitlab/.gitlab-webide.yml diff --git a/.gitlab/.gitlab-webide.yml b/.gitlab/.gitlab-webide.yml new file mode 100644 index 0000000..faf8c97 --- /dev/null +++ b/.gitlab/.gitlab-webide.yml @@ -0,0 +1,9 @@ +terminal: + # This can be any image that has the necessary runtime environment for your project. + image: node:10-alpine + before_script: + - apk update + script: sleep 60 + variables: + RAILS_ENV: "test" + NODE_ENV: "test" diff --git a/test/test_tictactoe.c b/test/test_tictactoe.c index d7c864b..0609053 100644 --- a/test/test_tictactoe.c +++ b/test/test_tictactoe.c @@ -63,6 +63,7 @@ void test_isValidMove_gueltigerZug(void) { void test_checkWinner_vertikalerGewinner(void) { /* arrangieren */ char result; + char board[3][3]; // Initialisiere das Spielfeld for (int i = 0; i < BOARD_SIZE; i++) {