generate_test_samples: Generate a comprehensive collection test cases for comment /...

Description Usage Value

View source: R/testing.R

Description

Generate a comprehensive collection test cases for comment / insertion interaction Test consist of if / if-else / if-else-if-else cases, paired with various line-break and comment configurations. Used for internal testing.

Usage

1

Value

The function is called for its side effects, i.e. to write the test cases to *-in.R files that can be tested with test_collection(). Note that a few of the test cases are invalid and need to be removed / commented out manually.


styler documentation built on Sept. 23, 2021, 5:07 p.m.