Skip to content

Commit

Permalink
Adding tests for #200
Browse files Browse the repository at this point in the history
  • Loading branch information
javierfernandes committed Dec 31, 2015
1 parent 0b3fd64 commit 965e7fa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,26 @@ import libForImports.simpsons.*
import libForImports.flanders.Ned
import libForImports.flanders.mod

// wrong imports

// XPECT errors --> "Cannot resolve import abc" at "abc"
import abc
// XPECT errors --> "Cannot resolve import abc.*" at "abc.*"
import abc.*
// XPECT errors --> "Cannot resolve import abc.anObject" at "abc.anObject"
import abc.anObject
// XPECT errors --> "Cannot resolve import abc.AClass" at "abc.AClass"
import abc.AClass

// XPECT errors --> "Cannot resolve import abc.pack" at "abc.pack"
import abc.pack
// XPECT errors --> "Cannot resolve import abc.pack.*" at "abc.pack.*"
import abc.pack.*
// XPECT errors --> "Cannot resolve import abc.pack.anObject" at "abc.pack.anObject"
import abc.pack.anObject
// XPECT errors --> "Cannot resolve import abc.pack.AClass" at "abc.pack.AClass"
import abc.pack.AClass


import wollok.lang.Object

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package simpsons {

class Homer {}

object marge
object marge {}

}

object apu
object apu {}

class Burns {}

Expand Down

0 comments on commit 965e7fa

Please sign in to comment.