Skip to content

Commit 80ba96f

Browse files
committed
remove null check gaurd tests
1 parent a65fb38 commit 80ba96f

2 files changed

Lines changed: 0 additions & 20 deletions

File tree

lang/tests/process/src/window_practical_test.ch

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -393,16 +393,6 @@ public func test_practical_window_monitor_info(env : &mut TestEnv) {
393393
}
394394
}
395395

396-
// ---------------------------------------------------------------------------
397-
// Error: create null window
398-
// ---------------------------------------------------------------------------
399-
400-
@test
401-
public func test_practical_window_create_null_fails(env : &mut TestEnv) {
402-
var res = window::window_create(null)
403-
if(res is Result.Ok) { env.error("create(null) should fail"); return }
404-
}
405-
406396
// ---------------------------------------------------------------------------
407397
// Error: create already-created window
408398
// ---------------------------------------------------------------------------

lang/tests/process/src/window_test.ch

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -250,16 +250,6 @@ public func test_window_native_handle_before_create(env : &mut TestEnv) {
250250
if(h != null) { env.error("native handle should be null before creation"); return }
251251
}
252252

253-
// ---------------------------------------------------------------------------
254-
// Error cases
255-
// ---------------------------------------------------------------------------
256-
257-
@test
258-
public func test_window_create_null(env : &mut TestEnv) {
259-
var res = window::window_create(null)
260-
if(res is Result.Ok) { env.error("window_create(null) should return Err"); return }
261-
}
262-
263253
// ---------------------------------------------------------------------------
264254
// Geometry types
265255
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)