Switch unit tests to new label parser

This commit is contained in:
2025-06-08 18:02:31 -07:00
parent c5df4e1ce0
commit 6ea50ac3f0
3 changed files with 80 additions and 57 deletions
@@ -2,8 +2,25 @@
source: src/labels/labels.rs
expression: result
---
'
'Find all the labels and their references
'
'Examples of labels
:(foo)
:(namespace~foo)
:(.local)
:(@)
'
'Test sends
#send [foo]
#send [self:foo]
#[self:foo]
#[@b]
#[.local]
#[foo.local]
'
'Test conditional sends
#if blocked n #send [foo]
#if bar [foo]
#if blocked s #[foo]
#if blocked e send [foo]
#if blocked w [foo]