nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/github: handles issue comments
[nit.git]
/
tests
/
test_to_upper_lower_buffer.nit
diff --git
a/tests/test_to_upper_lower_buffer.nit
b/tests/test_to_upper_lower_buffer.nit
index
d8b7eb5
..
e856eff
100644
(file)
--- a/
tests/test_to_upper_lower_buffer.nit
+++ b/
tests/test_to_upper_lower_buffer.nit
@@
-12,8
+12,12
@@
# 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.
-var x = new FlatBuffer.from("test")
-var y = new FlatBuffer.from("TEST")
+#alt1 import standard::ropes
+
+var x: Buffer = new FlatBuffer.from("test")
+#alt1 x = new RopeBuffer.from("test")
+var y: Buffer = new FlatBuffer.from("TEST")
+#alt1 y = new RopeBuffer.from("TEST")
x.upper
y.lower
x.upper
y.lower