From 5f184e3f98bbc59ca2d24729339535e208e7dc3a Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 9 Oct 2021 19:57:55 -0400 Subject: [PATCH] test: Add a configfile test with unicode characters Signed-off-by: Kevin O'Connor --- test/klippy/macros.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/klippy/macros.cfg b/test/klippy/macros.cfg index 5604b507..a3488c21 100644 --- a/test/klippy/macros.cfg +++ b/test/klippy/macros.cfg @@ -112,6 +112,12 @@ gcode: M112 {% endif %} +# A utf8 test (with utf8 characters such as ° ) +[gcode_macro TEST_unicode] ; Also test end-of-line comments ( ° ) +variable_ABC: 25 # Another end-of-line comment test ( ° ) +description: A unicode test ° +gcode: G28 + # Main test start point [gcode_macro TESTIT] gcode: @@ -119,4 +125,5 @@ gcode: TEST_expression TEST_variable TEST_param T=123 + TEST_unicode TEST_in