mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix use of deprecated function. Fix bug when compile time subtracting a distinct type. Fix test/benchmark debug info use.
This commit is contained in:
@@ -363,7 +363,7 @@ fn void! test_path_is_absolute()
|
||||
fn void! test_path_absolute()
|
||||
{
|
||||
$if env::WIN32:
|
||||
assert(path::new_windows(`C:\abs`).absolute()!.str_view() == `C:\abs`);
|
||||
assert(path::new_windows(`C:\abs`).new_absolute()!.str_view() == `C:\abs`);
|
||||
$else
|
||||
assert(path::new_posix("/").new_absolute()!.str_view() == "/");
|
||||
assert(path::new_posix(".").new_absolute()!.str_view() == path::temp_cwd()!!.str_view());
|
||||
|
||||
Reference in New Issue
Block a user