aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-07-17 17:22:35 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-07-17 17:22:35 +0000
commit7d02dd60c0d6d106919ad3a021a6f98445daea78 (patch)
tree7eff0e9ed2ab3cbf154f5c4defc7eb275bb5b77a /README.rst
parent5dbfa921c8df2f5fe518886dc25eb1c44d8c99a7 (diff)
downloadlua-inet-7d02dd60c0d6d106919ad3a021a6f98445daea78.tar.gz
lua-inet-7d02dd60c0d6d106919ad3a021a6f98445daea78.tar.xz
lua-inet-7d02dd60c0d6d106919ad3a021a6f98445daea78.zip
tests: readme: strengthen parser
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index f151bee..2083b83 100644
--- a/README.rst
+++ b/README.rst
@@ -152,7 +152,7 @@ Addition
inet('2001:db8::/64') + 5 -- returns inet('2001:db8::5/64')
- inet('::ffff:0.0.0.0/96') + inet('192.0.2.24') -- XXXreturns inet('192.0.2.24')
+ --inet('::ffff:0.0.0.0/96') + inet('192.0.2.24') -- returns inet('192.0.2.24')
``foo - bar``
~~~~~~~~~~~~~
@@ -163,7 +163,7 @@ Subtract
inet('2001:db8::5/64') - 5 -- returns inet('2001:db8::/64')
- inet('2001:db8::5/64') - inet('2001:db8::') -- XXXreturns 5
+ --inet('2001:db8::5/64') - inet('2001:db8::') -- returns 5
``foo / bar``
~~~~~~~~~~~~~