From e22c6811455d128faa9e679cbfdbe2af813610bd Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 17 Nov 2014 09:43:20 -0500 Subject: [PATCH] tests: add base_import_standard*.nit Signed-off-by: Jean Privat --- tests/base_import_standard.nit | 17 +++++++++++++++++ tests/base_import_standard2.nit | 17 +++++++++++++++++ tests/sav/base_import_standard.res | 1 + tests/sav/base_import_standard2.res | 1 + 4 files changed, 36 insertions(+) create mode 100644 tests/base_import_standard.nit create mode 100644 tests/base_import_standard2.nit create mode 100644 tests/sav/base_import_standard.res create mode 100644 tests/sav/base_import_standard2.res diff --git a/tests/base_import_standard.nit b/tests/base_import_standard.nit new file mode 100644 index 0000000..2e76488 --- /dev/null +++ b/tests/base_import_standard.nit @@ -0,0 +1,17 @@ +# This file is part of NIT ( http://www.nitlanguage.org ). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +private import template + +print 1 diff --git a/tests/base_import_standard2.nit b/tests/base_import_standard2.nit new file mode 100644 index 0000000..da5111e --- /dev/null +++ b/tests/base_import_standard2.nit @@ -0,0 +1,17 @@ +# This file is part of NIT ( http://www.nitlanguage.org ). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import base_import_standard + +print 2 diff --git a/tests/sav/base_import_standard.res b/tests/sav/base_import_standard.res new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/sav/base_import_standard.res @@ -0,0 +1 @@ +1 diff --git a/tests/sav/base_import_standard2.res b/tests/sav/base_import_standard2.res new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/tests/sav/base_import_standard2.res @@ -0,0 +1 @@ +2 -- 1.7.9.5