Sha256: 0712d78857d308b7682e139f33e8335b943080491b9c4f436e5f552290305265
Contents?: true
Size: 390 Bytes
Versions: 20
Compression:
Stored size: 390 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. require 'test/unit' require 'wx' class AppInitExitExceptions < Test::Unit::TestCase class TestApp < Wx::App def on_init raise RuntimeError, 'on_init exception' end end def test_on_init_exception assert_raise_kind_of(RuntimeError) { TestApp.run } end end
Version data entries
20 entries across 20 versions & 1 rubygems