nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated `tests/syntax_callref.nit`
[nit.git]
/
tests
/
base_adaptive_loop_null.nit
diff --git
a/tests/base_adaptive_loop_null.nit
b/tests/base_adaptive_loop_null.nit
index
cfbb80f
..
b06eacd
100644
(file)
--- a/
tests/base_adaptive_loop_null.nit
+++ b/
tests/base_adaptive_loop_null.nit
@@
-12,7
+12,7
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-import standard::kernel
+import core::kernel
fun foo(i: Int): nullable Int do return i
fun bar(i: Int) do i.output
fun foo(i: Int): nullable Int do return i
fun bar(i: Int) do i.output
@@
-48,6
+48,6
@@
loop
if i != null then
bar(i)
else
if i != null then
bar(i)
else
- break #alt4#
+ break #alt4# exit(0)
end
end
end
end