Skip to content

Commit 34920c7

Browse files
tests: hello world playground run with success and failure tests (#2513)
Implement two tests for the rust playground: - successful run of the hello world example with the hello world message in stdout and a hidden stderr - on purpose compilation error is shown in stderr and "No output" in stdout
1 parent 7584ce0 commit 34920c7

File tree

5 files changed

+716
-561
lines changed

5 files changed

+716
-561
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ jobs:
189189
run: npm install
190190
working-directory: ./tests
191191
- name: Test Javascript
192+
if: matrix.language == 'en'
192193
run: npm test
193194
env:
194195
TEST_BOOK_DIR: ../book/comprehensive-rust-${{ matrix.language }}/html

0 commit comments

Comments
 (0)