Open lukaspustina opened 4 years ago
Hi, thanks for this crate which I use in testing the output of my CLI tool with joy!
While working with constants I observed that they doesn't seem to work in CHECK while perfectly fine in RUN:
CHECK
RUN
RUN: @app_bin CHECK: @app_bin.
It seems to me that CHECK is trying to literally match @app_bin without substituting the the variable name with the name.
@app_bin
Could you verify this observation and if it's incorrect let me know how to properly use constants in CHECK.
Thanks in advance, Lukas
Hi, thanks for this crate which I use in testing the output of my CLI tool with joy!
While working with constants I observed that they doesn't seem to work in
CHECK
while perfectly fine inRUN
:It seems to me that
CHECK
is trying to literally match@app_bin
without substituting the the variable name with the name.Could you verify this observation and if it's incorrect let me know how to properly use constants in
CHECK
.Thanks in advance, Lukas