branch: elpa/geiser-kawa
commit 0aa42cbe8f9a9530554743eba86e323b87bf28cb
Author: spellcard199 <[email protected]>
Commit: spellcard199 <[email protected]>
Fix broken test
---
src/test/java/kawageiser/GeiserAutodocTest.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/test/java/kawageiser/GeiserAutodocTest.java
b/src/test/java/kawageiser/GeiserAutodocTest.java
index a2c0253..526f526 100644
--- a/src/test/java/kawageiser/GeiserAutodocTest.java
+++ b/src/test/java/kawageiser/GeiserAutodocTest.java
@@ -18,14 +18,13 @@ import static org.testng.Assert.*;
public class GeiserAutodocTest {
@Test
- public void testApply2() {
+ public void testApply2() throws Throwable {
Scheme scheme = new Scheme();
Environment env = scheme.getEnvironment();
Symbol displaySym = env.getSymbol("display");
Symbol cdddrSym = env.getSymbol("cdddr");
- GeiserAutodoc geiserAutodoc = new
GeiserAutodoc("geiser-testing-autodoc", scheme);
- String autodocDisplay = (String)
geiserAutodoc.apply2(LList.list1(displaySym), env);
- String autodocCdddr = (String)
geiserAutodoc.apply2(LList.list1(cdddrSym), env);
+ String autodocDisplay = GeiserAutodoc.autodoc(LList.list1(displaySym),
env);
+ String autodocCdddr = GeiserAutodoc.autodoc(LList.list1(cdddrSym),
env);
// System.out.println(autodocDisplay);