-
Notifications
You must be signed in to change notification settings - Fork 92
Remove test duplication #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
val e: scala.xml.MetaData = Null //Node.NoAttributes | ||
val sc: scala.xml.NamespaceBinding = TopScope | ||
} | ||
|
||
class XMLTest { | ||
class XMLTestJVM { | ||
import XMLTest.{ e, sc } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import XMLTestJVM
... although why there's a companion object, I have no idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Force pushed the change.
…required Moving jv tests to shared introduced name conflicts on the duplicated calsses, the rename solves that
60f1c7f
to
2eafecb
Compare
I don't think there's any reason not to merge this. The duplication is indeed fixed. I'm sure there will be more re-work in the wake of these Scalajs changes. |
I'm going to go ahead and hit "merge" on this one since it may affect in-flight PRs. |
This PR removes the test duplication introduced in #109.
As a defaults, new test should be added in
shared/src/test
. Parts that are JVM specific should go injvm/src/test
instead.