diff options
| author | Abdou Seck <djily02016@gmail.com> | 2020-06-04 10:31:17 -0400 |
|---|---|---|
| committer | Abdou Seck <djily02016@gmail.com> | 2020-06-04 11:18:26 -0400 |
| commit | 8ad5f9bf531a4848b1104b7b389a20171624c82f (patch) | |
| tree | 331c5d3725140b07d836ed8be6df30c8ddfd63fb /tests/fixture/success/testSuccess.rs | |
| parent | 02a2fe48714a4546b28d38fb611e6bfce9f43cf6 (diff) | |
feat: Add a --nocapture option to display test harnesses' outputs
This new feature can be accessed by invoking rustlings with --nocapture.
Both unit and integration tests added.
closes #262
BREAKING CHANGES:
The following function take a new boolean argument:
* `run`
* `verify`
* `test`
* `compile_and_test`
Diffstat (limited to 'tests/fixture/success/testSuccess.rs')
| -rw-r--r-- | tests/fixture/success/testSuccess.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fixture/success/testSuccess.rs b/tests/fixture/success/testSuccess.rs index 589057c..7139b50 100644 --- a/tests/fixture/success/testSuccess.rs +++ b/tests/fixture/success/testSuccess.rs @@ -1,4 +1,5 @@ #[test] fn passing() { + println!("THIS TEST TOO SHALL PASS"); assert!(true); } |
