Explorar el Código

Ajout test perso Lisp

Arthur Brandao hace 6 años
padre
commit
6946b22e5b
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      TDD2019OWNTESTS
  2. 1 1
      src/migl/lisp/LispImpl.java

+ 1 - 1
TDD2019OWNTESTS

@@ -1 +1 @@
-Subproject commit b63186db5cf7f94355c1b9a0ae7c13b09b2339ea
+Subproject commit 4153f2fca97c34e37fcfc2e8116f7b784e1b173d

+ 1 - 1
src/migl/lisp/LispImpl.java

@@ -17,7 +17,7 @@ public class LispImpl implements Lisp {
 			return this.parseList(explode);
 		} else {
 			//Element seul
-			if(explode.size() > 1) {
+			if(explode.size() > 0) {
 				throw new LispError("Invalid format");
 			}
 			return this.parseElement(val);