Comments (3)
@kazk I found a way to reproduce this: whenever check
is called inside another function called inside test
block this happens. For instance:
Code:
proc multiply*(a, b: int): int = a + b
Test:
proc testing(a: int, b: int) = check(a == b)
suite "multiply":
test "multiply(1, 1)":
check(multiply(1, 1) == 1)
test "multiply(1, 2)":
testing(multiply(1, 2), 2)
However, the exit code would still be non-zero anyway so this cannot be used to bypass the test cases.
from codewars-runner-cli.
codewars/codewars.com#1087 (comment) ?
from codewars-runner-cli.
Oh, so there's no way to easily use wrap testing inside another procedure. Guess I'll have to actually rewrite the test code then.
from codewars-runner-cli.
Related Issues (20)
- Update default test setup for Coq HOT 1
- Add Dart 2.8 HOT 1
- Add Rust 1.44 HOT 1
- Add Haxe HOT 14
- Add Crystal 0.34 HOT 2
- Update Python math/scientific libraries HOT 1
- `mcheck` breaks every C kata in new language version HOT 2
- Add Lean v3.11.0 (with mathlib) HOT 6
- Add NodeJS 12 HOT 1
- Add possibility to use scala testing frameworks for java solutions HOT 1
- C++ : updated kata to Clang8C++17 passed by function without body HOT 12
- Rust test runner: Please support Codewars Output format too HOT 20
- Add bit_set to rust HOT 1
- Add Lean 3.16.3 HOT 6
- Haxe: Type not found : Int64 HOT 3
- Add Lean v3.18.4 HOT 9
- Exit code is 0 when crashing with memory error with Node 12 HOT 7
- CFML: java.lang.VerifyError:Expecting a stackmap frame at branch target HOT 5
- Add rest api documentation. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codewars-runner-cli.