Skip to content

Commit 71dc7b3

Browse files
committed
test: remove explicit template args to transfer_view
1 parent a3f094a commit 71dc7b3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/t-utility-17.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ TEST_CASE("transfer string_view") {
2222
CHECK(o_w == "o w");
2323

2424
{
25-
auto ts = itlib::transfer_view<std::string_view>(hello, a, b);
25+
auto ts = itlib::transfer_view(hello, a, b);
2626
CHECK(ts == std::string_view("abcde"));
2727
}
2828
{
29-
auto ts = itlib::transfer_view<std::string_view>(world, a, b);
29+
auto ts = itlib::transfer_view(world, a, b);
3030
CHECK(ts == std::string_view("ghijk"));
3131
}
3232
{
33-
auto ts = itlib::transfer_view<std::string_view>(o_w, a, b);
33+
auto ts = itlib::transfer_view(o_w, a, b);
3434
CHECK(ts == std::string_view("efg"));
3535
}
3636
{
37-
auto ts = itlib::transfer_view<std::string_view>(o0, a, b);
37+
auto ts = itlib::transfer_view(o0, a, b);
3838
CHECK(ts.empty());
3939
CHECK(ts.data() == b.data() + 4);
4040
}
4141
{
42-
auto ts = itlib::transfer_view<std::string_view>(empty, a, b);
42+
auto ts = itlib::transfer_view(empty, a, b);
4343
CHECK(ts.empty());
4444
CHECK(ts.data() == nullptr);
4545
}

0 commit comments

Comments
 (0)