mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 04:37:47 +08:00
Fix minor typos in test files (#114)
This commit is contained in:
parent
792d08eae7
commit
28cdd564d3
@ -2,8 +2,8 @@
|
||||
## Copyright (c) 2020-2021 Thakee Nathees
|
||||
## Distributed Under The MIT License
|
||||
|
||||
## This will run a static checks on the source files, for line length,
|
||||
## uses of tabs and trailing white spaces, etc.
|
||||
## This will run static checks on the source files, for line length,
|
||||
## uses of tabs, and trailing white spaces, etc.
|
||||
|
||||
import os, sys, re
|
||||
from os import listdir
|
||||
@ -79,7 +79,7 @@ def check_fnv1_hash(sources):
|
||||
fp.close()
|
||||
|
||||
## Check each source file ('.c', '.h', '.py') in the [dirs] contains tabs,
|
||||
## more than 79 characters and trailing white space.
|
||||
## more than 79 characters, and trailing white space.
|
||||
def check_static(dirs):
|
||||
valid_ext = ('.c', '.h', '.py', '.pk')
|
||||
for dir in dirs:
|
||||
|
@ -6,7 +6,7 @@ import os, sys, platform
|
||||
import subprocess, json, re
|
||||
from os.path import join, abspath, dirname, relpath
|
||||
|
||||
## TODO: Re write this in doctest (https://github.com/onqtam/doctest)
|
||||
## TODO: Re-write this in doctest (https://github.com/onqtam/doctest)
|
||||
|
||||
## The absolute path of this file, when run as a script.
|
||||
## This file is not intended to be included in other files at the moment.
|
||||
@ -108,7 +108,7 @@ COLORS = {
|
||||
'END' : '\033[0m' ,
|
||||
}
|
||||
|
||||
## All tests messages are written to stdour because they're mixed
|
||||
## All tests messages are written to stdout because they're mixed
|
||||
## and github actions io calls seems asynchronous. And ANSI colors
|
||||
## not seems to working with multiline in github actions, so
|
||||
## printing the message line by line.
|
||||
|
Loading…
Reference in New Issue
Block a user