File: convert-add-to-standard-form.patch

package info (click to toggle)
nim-d3 0.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: makefile: 17
file content (12 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
Author: Nilesh Patra <npatra974@gmail.com>
Forwarded: https://github.com/hiteshjasani/nim-d3/pull/2
Description: Change add function to numbers instead
Last-Changed: 2020-11-12
--- a/tests/test1.nim
+++ b/tests/test1.nim
@@ -9,4 +9,4 @@
 
 import d3
 test "can add":
-  check add(5, 5) == 10
+  check 5 + 5 == 10