summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.bc
diff options
context:
space:
mode:
authorhhsprings <xwhhsprings@gmail.com>2015-11-08 17:23:44 +0900
committerhhsprings <xwhhsprings@gmail.com>2015-11-08 17:23:44 +0900
commit7193da4476048396424e764a61ce277f97af9559 (patch)
treeba474a19f4e9a64749afa91b5f3d5456b990e8f1 /tests/examplefiles/example.bc
parentebf185503ab38761ea03be93ae9109d4012b621e (diff)
downloadpygments-7193da4476048396424e764a61ce277f97af9559.tar.gz
* see `#1164 <https://bitbucket.org/birkenfeld/pygments-main/issues/1164/linter-to-check-for-single-character#comment-23146873>`_, TNX Tim!
* I noticed bc doesn't support 1.0e-2 form.
Diffstat (limited to 'tests/examplefiles/example.bc')
-rw-r--r--tests/examplefiles/example.bc8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/examplefiles/example.bc b/tests/examplefiles/example.bc
index 283b243c..6604cd31 100644
--- a/tests/examplefiles/example.bc
+++ b/tests/examplefiles/example.bc
@@ -43,3 +43,11 @@ if (a <= 2) {
}
if (a < 2) {
}
+
+a /* /*/ * 2 /* == a * 2 */
+a //* /*/ 1.5 /* == a / 1.5 */
+a /*/*/ * 3 /* == a * 3 */
+a * 3 /**/ * 4 /* == a * 3 * 4 */
+a / 3 //*//*/ .4 /* == a / 3 / 0.4 */
+a / 3 //*//*/ 1.3 /* == a / 3 / 1.4 */
+a / 3 /*//*// 1.3 /* == a / 3 / 1.4 */