From 0d5f507a6c5b17a9e1d3e1303a80dfd0a13564f0 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Tue, 6 Dec 2011 22:32:07 +0400 Subject: [PATCH] split Bounds.jet test into smaller tests --- idea/testData/checker/Bounds.jet | 14 -------------- idea/testData/checker/Bounds2.jet | 13 +++++++++++++ 2 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 idea/testData/checker/Bounds2.jet diff --git a/idea/testData/checker/Bounds.jet b/idea/testData/checker/Bounds.jet index 87d5cfa1579..8434607edf8 100644 --- a/idea/testData/checker/Bounds.jet +++ b/idea/testData/checker/Bounds.jet @@ -24,17 +24,3 @@ namespace boundsWithSubstitutors { abstract val x : fun (B<Char>) : B<Any> } - -fun test() { - foo<Int?>() - foo() - bar() - bar() - bar<Double?>() - bar<Double>() - 1.buzz<Double>() -} - -fun foo() {} -fun bar() {} -fun Int> Int.buzz() : Unit {} diff --git a/idea/testData/checker/Bounds2.jet b/idea/testData/checker/Bounds2.jet new file mode 100644 index 00000000000..c53d78acb4b --- /dev/null +++ b/idea/testData/checker/Bounds2.jet @@ -0,0 +1,13 @@ +fun test() { + foo<Int?>() + foo() + bar() + bar() + bar<Double?>() + bar<Double>() + 1.buzz<Double>() +} + +fun foo() {} +fun bar() {} +fun Int> Int.buzz() : Unit {}