diff --git a/bytes/view_pattern_test.mbt b/bytes/view_pattern_test.mbt index fe5c67bd2..7941e0737 100644 --- a/bytes/view_pattern_test.mbt +++ b/bytes/view_pattern_test.mbt @@ -12,13 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. - test "View::pattern" { let view = b"\x01\x02\x03"[:] match view { - [0x01, 0x02, ..rest] => { - inspect!(rest, content="b\"\\x03\"") - } + [0x01, 0x02, .. rest] => inspect!(rest, content="b\"\\x03\"") _ => abort("should not happen") } }