From 0926754e68861947c67986bc9c7e0a011a58267b Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 5 Jul 2018 15:51:04 +0200 Subject: make tests green again --- tests/method/tmultim4.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/method') diff --git a/tests/method/tmultim4.nim b/tests/method/tmultim4.nim index eabf8d126..a1d65d570 100644 --- a/tests/method/tmultim4.nim +++ b/tests/method/tmultim4.nim @@ -3,15 +3,15 @@ discard """ output: "hello" """ type - Test = object of TObject + Test = object of RootObj -method doMethod(a: ref TObject) {.base, raises: [EIO].} = +method doMethod(a: ref RootObj) {.base, raises: [IoError].} = quit "override" method doMethod(a: ref Test) = echo "hello" if a == nil: - raise newException(EIO, "arg") + raise newException(IoError, "arg") proc doProc(a: ref Test) = echo "hello" -- cgit 1.4.1-2-gfad0