. ---------------------------------------------------------------------- Ran 1 test in 0.022s OK --- foo (w ) --- 'hi' (w (SQ hi)) --- $var (w ($ var)) --- ${var} (w (${ VSub_Name var)) --- "$var" (w (DQ ($ var))) --- "${var}" (w (DQ (${ VSub_Name var))) --- $((1+2)) (w (word_part.ArithSub left: anode:(arith_expr.Binary op: left:(w ) right:(w ) ) right: ) ) --- $(echo hi) (w (CommandSub left_token: child:(C (w ) (w )) right: ) ) --- "$((1+2))" (w (DQ (word_part.ArithSub left: anode:(arith_expr.Binary op: left:(w ) right:(w ) ) right: ) ) ) --- "$(echo hi)" (w (DQ (CommandSub left_token: child:(C (w ) (w )) right: ) ) ) --- $src/file (w ($ src) ) --- ${src}/file (w (${ VSub_Name src) ) --- "$src/file" (w (DQ ($ src) )) --- "${src}/file" (w (DQ (${ VSub_Name src) )) --- $((1+2))$(echo hi) (w (word_part.ArithSub left: anode:(arith_expr.Binary op: left:(w ) right:(w ) ) right: ) (CommandSub left_token: child:(C (w ) (w )) right: ) ) --- ~/src (w ) --- ~bob/foo (w ) --- notleading~ (w ) --- "~/src" (w (DQ )) --- "~bob/foo" (w (DQ ))