From f28b259b5f08de3f75fb2e61b7a9ade3c9dfcdde Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 15 Feb 2016 19:36:19 +0000 Subject: [PATCH] Commit missing parts of 74a75841. --- artiq/test/lit/embedding/error_name_absent_suggest.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/artiq/test/lit/embedding/error_name_absent_suggest.py b/artiq/test/lit/embedding/error_name_absent_suggest.py index 28df3056f..1ab961291 100644 --- a/artiq/test/lit/embedding/error_name_absent_suggest.py +++ b/artiq/test/lit/embedding/error_name_absent_suggest.py @@ -4,7 +4,10 @@ from artiq.language.core import * from artiq.language.types import * +def foo(): + pass + @kernel def entrypoint(): - # CHECK-L: ${LINE:+1}: fatal: name 'prnt' is not bound to anything; did you mean 'print'? - prnt() + # CHECK-L: ${LINE:+1}: fatal: name 'fo0' is not bound to anything; did you mean 'foo'? + fo0()