# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. cases: - note: bits.rsh.error.wrongtype1 data: {} modules: - | package test x = bits.rsh(1, "str") query: data.test error: "`bits.rsh` expects numeric argument. Got `\"str\"` instead" - note: bits.rsh.error.wrongtype2 data: {} modules: - | package test x = bits.rsh("str", 1) query: data.test error: "`bits.rsh` expects numeric argument. Got `\"str\"` instead" - note: bits.rsh.error.morearg data: {} modules: - | package test x = bits.rsh(1, 1, 1) query: data.test error: "`bits.rsh` expects 2 arguments" - note: bits.rsh.error.lessarg data: {} modules: - | package test x = bits.rsh(1) query: data.test error: "`bits.rsh` expects 2 arguments" - note: bits.rsh data: {} modules: - | package test x = bits.rsh(9, 2) query: data.test want_result: x : 2