aboutsummaryrefslogtreecommitdiff
path: root/test/bytes.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/bytes.tm')
-rw-r--r--test/bytes.tm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/bytes.tm b/test/bytes.tm
index be6d1cdd..b312c308 100644
--- a/test/bytes.tm
+++ b/test/bytes.tm
@@ -6,3 +6,11 @@ func main():
>> Byte(0xFF)
= Byte(0xFF)
+
+ >> b := Byte(0x0F)
+ >> b:hex()
+ = "0F"
+ >> b:hex(prefix=yes)
+ = "0x0F"
+ >> b:hex(uppercase=no)
+ = "0f"