File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ # messages (via cat()) of style_file are correct
2+
3+ Code
4+ cat(catch_style_file_output(file.path("public-api", "xyzdir-dirty",
5+ "dirty-sample-with-scope-tokens.R")), sep = "\n")
6+ Output
7+ Styling 1 files:
8+ dirty-sample-with-scope-tokens.R i
9+ ----------------------------------------
10+ Status Count Legend
11+ v 0 File unchanged.
12+ i 1 File changed.
13+ x 0 Styling threw an error.
14+ ----------------------------------------
15+ Please review the changes carefully!
16+
17+ ---
18+
19+ Code
20+ cat(catch_style_file_output(file.path("public-api", "xyzdir-dirty",
21+ "clean-sample-with-scope-tokens.R")), sep = "\n")
22+ Output
23+ Styling 1 files:
24+ clean-sample-with-scope-tokens.R v
25+ ----------------------------------------
26+ Status Count Legend
27+ v 1 File unchanged.
28+ i 0 File changed.
29+ x 0 Styling threw an error.
30+ ----------------------------------------
31+
32+ ---
33+
34+ Code
35+ cat(catch_style_file_output(file.path("public-api", "xyzdir-dirty",
36+ "dirty-sample-with-scope-spaces.R")), sep = "\n")
37+ Output
38+ Styling 1 files:
39+ dirty-sample-with-scope-spaces.R i
40+ ----------------------------------------
41+ Status Count Legend
42+ v 0 File unchanged.
43+ i 1 File changed.
44+ x 0 Styling threw an error.
45+ ----------------------------------------
46+ Please review the changes carefully!
47+
Original file line number Diff line number Diff line change 1+ # No sensitive to decimal option
2+
3+ Code
4+ style_text("1")
5+ Output
6+ 1
7+
You can’t perform that action at this time.
0 commit comments