From 9d88566bfcce863ef31ccecbcbe23ec8be4d774a Mon Sep 17 00:00:00 2001 From: Christopher Harrison Date: Fri, 25 Aug 2023 11:39:02 +0100 Subject: [PATCH] Fix the documented cargo test call in the proposed workflow --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c0f9212f..3ac879b5 100644 --- a/README.md +++ b/README.md @@ -1275,11 +1275,18 @@ suggested way to work: `crate::language::Language` and process it everywhere, then make a mostly empty query file with just the `(#language!)` configuration. -4. Run `RUST_LOG=debug cargo test -p topiary input_output_tester`. +4. Run: - Provided it works, it should output a lot of log messages. Copy that - output to a text editor. You are particularly interested in the CST - output that starts with a line like this: `CST node: {Node + ``` + RUST_LOG=debug \ + cargo test -p topiary \ + input_output_tester \ + -- --nocapture + ``` + + Provided it works, it should output a _lot_ of log messages. Copy + that output to a text editor. You are particularly interested in the + CST output that starts with a line like this: `CST node: {Node compilation_unit (0, 0) - (5942, 0)} - Named: true`. :bulb: As an alternative to using the debugging output, the