
TESTING "Error handling" ./test-error

TEST "no error" <<END
return: 0
END

TEST "set error" set <<END
return: 0
END

TEST "query no error" get_no <<END
out: (nil)
return: 0
END

TEST "query error" get <<END
out: LUMIERA_ERROR_TEST:test error
return: 0
END

TEST "error cleared" get2 <<END
out: LUMIERA_ERROR_TEST:test error
out: (nil)
return: 0
END

