mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Zig format
This commit is contained in:
parent
d41ea3f2d7
commit
c39ac471ea
1 changed files with 0 additions and 2 deletions
|
@ -307,7 +307,6 @@ inline fn strSplitInPlace(allocator: *Allocator, array: [*]RocStr, string: RocSt
|
||||||
array[ret_array_index] = RocStr.init(allocator, str_bytes + slice_start_index, str_len - slice_start_index);
|
array[ret_array_index] = RocStr.init(allocator, str_bytes + slice_start_index, str_len - slice_start_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
test "strSplitInPlace: no delimiter" {
|
test "strSplitInPlace: no delimiter" {
|
||||||
// Str.split "abc" "!" == [ "abc" ]
|
// Str.split "abc" "!" == [ "abc" ]
|
||||||
const str_arr = "abc";
|
const str_arr = "abc";
|
||||||
|
@ -911,4 +910,3 @@ test "RocStr.concat: small concat small" {
|
||||||
|
|
||||||
expect(roc_str3.eq(result));
|
expect(roc_str3.eq(result));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue