summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/scala/chiselTests/IntegerMathSpec.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/scala/chiselTests/IntegerMathSpec.scala b/src/test/scala/chiselTests/IntegerMathSpec.scala
index 3ccade8e..e78a780c 100644
--- a/src/test/scala/chiselTests/IntegerMathSpec.scala
+++ b/src/test/scala/chiselTests/IntegerMathSpec.scala
@@ -13,9 +13,9 @@ class IntegerMathTester extends BasicTester {
/* absolute values tests */
val uint = 3.U(4.W)
- val sint = (-3).S()
- val sintpos = 3.S()
- val wrongSIntPos = 4.S()
+ val sint = (-3).S
+ val sintpos = 3.S
+ val wrongSIntPos = 4.S
assert(uint.abs() === uint)
assert(sint.abs() === sintpos)