aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2018-05-23 14:04:27 -0700
committerFilipe Brandenburger <filbranden@google.com>2018-05-23 14:07:56 -0700
commitfa04e5c8fb24632869cff316ae4765996821287a (patch)
treec6cf47c3d146b036a782f261e95b839ae62d7e6a /mesonbuild/modules/gnome.py
parent5572bbc6cc4b28839cc2171e55ecd5b1f97cda13 (diff)
downloadmeson-fa04e5c8fb24632869cff316ae4765996821287a.zip
meson-fa04e5c8fb24632869cff316ae4765996821287a.tar.gz
meson-fa04e5c8fb24632869cff316ae4765996821287a.tar.bz2
Add a testing case for a decimal number with a leading zero
That syntax is invalid, since decimal numbers should never have a leading zero and octal numbers use the `0o` prefix instead. This matches Python 3 syntax which does not accept it: $ python3 >>> 0123 File "<stdin>", line 1 0123 ^ SyntaxError: invalid token >>> Add a "failing" test case to confirm this property is preserved and no regressions are introduced in this area.
Diffstat (limited to 'mesonbuild/modules/gnome.py')
0 files changed, 0 insertions, 0 deletions