diff options
| author | Jack Koenig | 2020-08-15 10:16:28 -0700 |
|---|---|---|
| committer | GitHub | 2020-08-15 10:16:28 -0700 |
| commit | f1c314e6c7e116df33ffc215ec907212037292dc (patch) | |
| tree | f06060e9fb52f4f5b30bc56db78acb6bd371642d /src/test/scala/firrtlTests/NamespaceSpec.scala | |
| parent | 2e5f942d25d7afab79ee1263c5d6833cad9d743d (diff) | |
| parent | 9adbe1ede59f9aeb25e71fd8318a4e7e46c4cc34 (diff) | |
Merge pull request #1852 from freechipsproject/format-src-4
Apply Scalafmt Rewriting
Diffstat (limited to 'src/test/scala/firrtlTests/NamespaceSpec.scala')
| -rw-r--r-- | src/test/scala/firrtlTests/NamespaceSpec.scala | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/scala/firrtlTests/NamespaceSpec.scala b/src/test/scala/firrtlTests/NamespaceSpec.scala index a9bb844d..bf7cb019 100644 --- a/src/test/scala/firrtlTests/NamespaceSpec.scala +++ b/src/test/scala/firrtlTests/NamespaceSpec.scala @@ -9,19 +9,19 @@ class NamespaceSpec extends FirrtlFlatSpec { "A Namespace" should "not allow collisions" in { val namespace = Namespace() - namespace.newName("foo") should be ("foo") - namespace.newName("foo") should be ("foo_0") + namespace.newName("foo") should be("foo") + namespace.newName("foo") should be("foo_0") } it should "start temps with a suffix of 0" in { - Namespace().newTemp.last should be ('0') + Namespace().newTemp.last should be('0') } it should "handle multiple prefixes with independent suffixes" in { val namespace = Namespace() - namespace.newName("foo") should be ("foo") - namespace.newName("foo") should be ("foo_0") - namespace.newName("bar") should be ("bar") - namespace.newName("bar") should be ("bar_0") + namespace.newName("foo") should be("foo") + namespace.newName("foo") should be("foo_0") + namespace.newName("bar") should be("bar") + namespace.newName("bar") should be("bar_0") } } |
