Skip to content

Site #458 rename workaround #18

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

Merged
1 commit merged into from
Jun 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/scala/shapeless/ShapelessLib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object ShapelessLib extends exercise.Library {
override def sections = List(
PolyExercises,
HListExercises,
TuplesExercises,
TuplesHListExercises,
ArityExercises,
HMapExercises,
SingletonExercises,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import shapeless._
* shapeless allows standard Scala tuples to be manipulated in exactly the same ways as `HList`s
* @param name tuples
*/
object TuplesExercises extends FlatSpec with Matchers with exercise.Section {
object TuplesHListExercises extends FlatSpec with Matchers with exercise.Section {

import syntax.std.tuple._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import org.scalacheck.Shapeless._

import shapeless.syntax.std.tuple._

class TuplesExercisesSpec extends Spec with Checkers {
class TuplesHListExercisesSpec extends Spec with Checkers {

def `head op` = {
check(
Test.testSuccess(
TuplesExercises.head _,
TuplesHListExercises.head _,
23 :: HNil
)
)
Expand All @@ -24,7 +24,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `tail op` = {
check(
Test.testSuccess(
TuplesExercises.tail _,
TuplesHListExercises.tail _,
("foo", true) :: HNil
)
)
Expand All @@ -33,7 +33,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `drop op` = {
check(
Test.testSuccess(
TuplesExercises.drop _,
TuplesHListExercises.drop _,
Tuple1(true) :: HNil
)
)
Expand All @@ -42,7 +42,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `take op` = {
check(
Test.testSuccess(
TuplesExercises.take _,
TuplesHListExercises.take _,
(23, "foo") :: HNil
)
)
Expand All @@ -53,7 +53,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `split op` = {
check(
Test.testSuccess(
TuplesExercises.split _,
TuplesHListExercises.split _,
(23, "foo", true).split(1) :: HNil
)
)
Expand All @@ -62,7 +62,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `prepend op` = {
check(
Test.testSuccess(
TuplesExercises.prepend _,
TuplesHListExercises.prepend _,
(23, "foo", true) :: HNil
)
)
Expand All @@ -71,7 +71,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `append op` = {
check(
Test.testSuccess(
TuplesExercises.append _,
TuplesHListExercises.append _,
(23, "foo", true) :: HNil
)
)
Expand All @@ -80,7 +80,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `concatenate op` = {
check(
Test.testSuccess(
TuplesExercises.concatenate _,
TuplesHListExercises.concatenate _,
(23, "foo", true, 2.0) :: HNil
)
)
Expand All @@ -89,7 +89,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `map op` = {
check(
Test.testSuccess(
TuplesExercises.map _,
TuplesHListExercises.map _,
(Option(23), Option("foo"), Option(true)) :: HNil
)
)
Expand All @@ -98,7 +98,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `flatMap op` = {
check(
Test.testSuccess(
TuplesExercises.flatMap _,
TuplesHListExercises.flatMap _,
(23, "foo", true, 2.0) :: HNil
)
)
Expand All @@ -107,7 +107,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `fold op` = {
check(
Test.testSuccess(
TuplesExercises.fold _,
TuplesHListExercises.fold _,
11 :: HNil
)
)
Expand All @@ -116,7 +116,7 @@ class TuplesExercisesSpec extends Spec with Checkers {
def `toHList op` = {
check(
Test.testSuccess(
TuplesExercises.toHList _,
TuplesHListExercises.toHList _,
{ 23 :: "foo" :: true :: HNil } :: HNil
)
)
Expand Down