Commit 842eb5b
committed
test: add test for dgram.setTTL
Verify that passing a non-number will throw and that the argument is
returned on success.
PR-URL: #2121
Reviewed-By: Colin Ihrig <[email protected]>1 parent 1a340a8 commit 842eb5b
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments