Skip to content

Commit

Permalink
Merge branch 'main' of github.com:reqT/reqT-jacop into main
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornregnell committed May 28, 2024
2 parents 450e395 + 6129371 commit 757553e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/TestConstr.scala
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class TestConstr extends munit.FunSuite:
val requiredEntityTypes = List(Release, Feature, Stakeholder, Resource)
val isRequiredEntityTypes = requiredEntityTypes.toSet

def missing(m: Model): Seq[EntType] = m.ents.map(_.t).filterNot(isRequiredEntityTypes) // Should be e.t in next version of reqT-lang
def missing(m: Model): Seq[EntType] = m.ents.map(_.t).filterNot(isRequiredEntityTypes)

def isValid(m: Model): Boolean = missing(m).isEmpty

Expand Down

0 comments on commit 757553e

Please sign in to comment.