Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
short-exercises
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
intro-to-fp
short-exercises
Compare revisions
4fa22fbb2f302bde1e4480855f877c5188d72291 to master
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
intro-to-fp/short-exercises
Select target project
No results found
master
Select Git revision
Branches
master
readerwriter
Swap
Target
s472501/short-exercises
Select target project
intro-to-fp/short-exercises
s472501/short-exercises
s410344/short-exercises
3 results
4fa22fbb2f302bde1e4480855f877c5188d72291
Select Git revision
Branches
master
readerwriter
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/test/scala/testutil/PendingIfUnimplemented.scala
+2
-4
2 additions, 4 deletions
src/test/scala/testutil/PendingIfUnimplemented.scala
src/test/scala/typeclasses/FunctorSpec.scala
+0
-11
0 additions, 11 deletions
src/test/scala/typeclasses/FunctorSpec.scala
with
2 additions
and
15 deletions
src/test/scala/testutil/PendingIfUnimplemented.scala
View file @
3c3c353c
...
...
@@ -6,10 +6,8 @@ import org.scalatest._
* Mix into a test suite to mark tests for ??? methods as "pending" instead of "failed"
*/
trait
PendingIfUnimplemented
extends
TestSuiteMixin
{
this:
TestSuite
=>
abstract
override
def
withFixture
(
test
:
NoArgTest
)
:
Outcome
=
{
super
.
withFixture
(
test
)
match
{
abstract
override
def
withFixture
(
test
:
NoArgTest
)
:
Outcome
=
super
.
withFixture
(
test
)
match
case
Failed
(
_:
NotImplementedError
)
=>
Pending
case
other
=>
other
}
}
}
This diff is collapsed.
Click to expand it.
src/test/scala/typeclasses/FunctorSpec.scala
deleted
100644 → 0
View file @
4fa22fbb
package
typeclasses
import
org.scalatest._
import
testutil.PendingIfUnimplemented
@SuppressWarnings
(
Array
(
"org.wartremover.warts.All"
))
class
FunctorSpec
extends
FlatSpec
with
Matchers
with
AppendedClues
with
PendingIfUnimplemented
{
"The Functor instance for Option"
should
"be available in implicit scope"
in
{
"implicitly[Functor[Option]]"
should
compile
}
}
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
Next