소스 검색

Ajout test perso Lisp

Arthur Brandao 6 년 전
부모
커밋
6946b22e5b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);