diff options
author | Eli Bendersky <eliben@gmail.com> | 2021-10-20 11:50:33 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2021-10-20 11:50:33 -0700 |
commit | 615317a473f09b9b9d444313ac15e52e7763c7c1 (patch) | |
tree | adedfb897d034b2b5f07500d81ff7281a1ff7ce9 /tests | |
parent | 50dac813775bae329297b79a258625f74b00a7a3 (diff) | |
parent | a7b480ccbb4834e59858f5ffd04ab485da1e4b94 (diff) | |
download | pycparser-615317a473f09b9b9d444313ac15e52e7763c7c1.tar.gz |
Merge branch 'master' of github.com:eliben/pycparser
Diffstat (limited to 'tests')
-rw-r--r-- | tests/c_files/memmgr.h | 2 | ||||
-rw-r--r-- | tests/c_files/year.c | 4 | ||||
-rwxr-xr-x | tests/test_c_parser.py | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/c_files/memmgr.h b/tests/c_files/memmgr.h index ae8212d..8eee907 100644 --- a/tests/c_files/memmgr.h +++ b/tests/c_files/memmgr.h @@ -49,7 +49,7 @@ // minimize pool fragmentation in case of multiple allocations
// and deallocations, it is advisable to not allocate
// blocks that are too small.
-// This flag sets the minimal ammount of quantas for
+// This flag sets the minimal amount of quantas for
// an allocation. If the size of a ulong is 4 and you
// set this flag to 16, the minimal size of an allocation
// will be 4 * 2 * 16 = 128 bytes
diff --git a/tests/c_files/year.c b/tests/c_files/year.c index 11d9475..eb33c1f 100644 --- a/tests/c_files/year.c +++ b/tests/c_files/year.c @@ -12,8 +12,8 @@ void convert(int thousands, int hundreds, int tens, int ones) char *num[] = {"", "One", "Two", "Three", "Four", "Five", "Six",
"Seven", "Eight", "Nine"};
-char *for_ten[] = {"", "", "Twenty", "Thirty", "Fourty", "Fifty", "Sixty",
- "Seventy", "Eighty", "Ninty"};
+char *for_ten[] = {"", "", "Twenty", "Thirty", "Forty", "Fifty", "Sixty",
+ "Seventy", "Eighty", "Ninety"};
char *af_ten[] = {"Ten", "Eleven", "Twelve", "Thirteen", "Fourteen",
"Fifteen", "Sixteen", "Seventeen", "Eighteen", "Ninteen"};
diff --git a/tests/test_c_parser.py b/tests/test_c_parser.py index 33f3f07..4a5c90b 100755 --- a/tests/test_c_parser.py +++ b/tests/test_c_parser.py @@ -177,7 +177,7 @@ class TestCParser_fundamentals(TestCParser_base): def test_coords(self): """ Tests the "coordinates" of parsed elements - file name, line and column numbers, with modification - insterted by #line directives. + inserted by #line directives. """ self.assert_coord(self.parse('int a;').ext[0], 1, 5) @@ -1169,7 +1169,7 @@ class TestCParser_fundamentals(TestCParser_base): ['TypeDecl', ['IdentifierType', ['float']]]]]]]]) - # ISO/IEC 9899:201x Commitee Draft 2010-11-16, N1539 + # ISO/IEC 9899:201x Committee Draft 2010-11-16, N1539 # section 6.7.2.1, par. 19, example 1 s3 = """ struct v { |