nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Commands tests use `test_frontend`
[nit.git]
/
tests
/
test_nitunit4
/
test_nitunit4_base.nit
diff --git
a/tests/test_nitunit4/test_nitunit4_base.nit
b/tests/test_nitunit4/test_nitunit4_base.nit
index
3e7a1e7
..
3fe9e16
100644
(file)
--- a/
tests/test_nitunit4/test_nitunit4_base.nit
+++ b/
tests/test_nitunit4/test_nitunit4_base.nit
@@
-12,22
+12,19
@@
# 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.
-module test_nitunit4_base is test_suite
-
-import test_suite
+module test_nitunit4_base
class SuperTestSuite
class SuperTestSuite
- super TestSuite
var before = false
var before = false
- redef fun before_test do
+ fun before_test is before do
print "Before Test"
before = true
end
print "Before Test"
before = true
end
- redef fun after_test do
+ fun after_test is after do
print "After Test"
print "After Test"
- assert false
+ assert before
end
end
end
end