From c4b0897e196dfdb685ee6c7aa542e7a0084db953 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Mon, 7 Sep 2020 18:42:44 +0200 Subject: ... --- data/tests/local_variables.fate | 4 ++++ data/tests/local_variables2.fate | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 data/tests/local_variables2.fate (limited to 'data') diff --git a/data/tests/local_variables.fate b/data/tests/local_variables.fate index 45cc67b..33d8329 100644 --- a/data/tests/local_variables.fate +++ b/data/tests/local_variables.fate @@ -1,5 +1,8 @@ (fate_version 1) +(require local_variables2.fate) + +(assert (= (var other_file_var) 1) FAILED: local from other file) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -107,4 +110,5 @@ ) FAILED: local M ) + (end) diff --git a/data/tests/local_variables2.fate b/data/tests/local_variables2.fate new file mode 100644 index 0000000..989d3f4 --- /dev/null +++ b/data/tests/local_variables2.fate @@ -0,0 +1,4 @@ +(fate_version 1) + +(local int other_file_var) +(set other_file_var 1) -- cgit v1.2.3-70-g09d2