nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
android & benitlux: use NitObject in clients
[nit.git]
/
tests
/
sav
/
nitpretty_args21.res
diff --git
a/tests/sav/nitpretty_args21.res
b/tests/sav/nitpretty_args21.res
index
4e30ae2
..
7fca201
100644
(file)
--- a/
tests/sav/nitpretty_args21.res
+++ b/
tests/sav/nitpretty_args21.res
@@
-13,8
+13,8
@@
# limitations under the License.
import end
# limitations under the License.
import end
-intrude import standard::kernel
-private import standard::text
+intrude import core::kernel
+private import core::text
`{`}
`{`}
@@
-70,8
+70,8
@@
extern class TimeT `{time_t`}
new from_i(i: Int) `{ return i; `}
fun update `{ time(&self); `}
new from_i(i: Int) `{ return i; `}
fun update `{ time(&self); `}
- fun ctime: String import NativeString.to_s_with_copy `{
- return NativeString_to_s_with_copy( ctime(&self) );
+ fun ctime: String import CString.to_s `{
+ return CString_to_s( ctime(&self) );
`}
# Difference in secondes from start (self if the end time)
`}
# Difference in secondes from start (self if the end time)