mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Strip old test runner back out of internal, issues and vendor
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// Tests issue #829 https://github.com/odin-lang/Odin/issues/829
|
||||
package test_issues
|
||||
|
||||
import "core:fmt"
|
||||
import "core:testing"
|
||||
|
||||
/* Original issue #829 example */
|
||||
@@ -13,6 +12,6 @@ env : map[string]proc(a, b : int) -> int = {
|
||||
|
||||
@(test)
|
||||
test_orig_ret :: proc(t: ^testing.T) {
|
||||
r := fmt.tprint(env["+"](1, 2))
|
||||
testing.expect(t, r == "3", fmt.tprintf("%s: \"%s\" != \"3\"\n", #procedure, r))
|
||||
}
|
||||
r := env["+"](1, 2)
|
||||
testing.expectf(t, r == 3, "%q != 3", r)
|
||||
}
|
||||
Reference in New Issue
Block a user