Skip to content

testing/lua-inet: fix inet check error

zhaixiaojuan requested to merge zhaixiaojuan/aports:lua-inet into master

check error:

Checking test/inet.lua                            5 warnings

    test/inet.lua:161:9: 'not (x > y)' can be replaced by 'x <= y' (if neither side is a table or NaN)
    test/inet.lua:165:9: 'not (x > y)' can be replaced by 'x <= y' (if neither side is a table or NaN)
    test/inet.lua:166:9: 'not (x < y)' can be replaced by 'x >= y' (if neither side is a table or NaN)
    test/inet.lua:167:9: 'not (x < y)' can be replaced by 'x >= y' (if neither side is a table or NaN)
    test/inet.lua:171:9: 'not (x <= y)' can be replaced by 'x > y' (if neither side is a table or NaN)

Total: 5 warnings / 0 errors in 11 files
make: *** [Makefile:6: test] Error 123

Merge request reports

Loading