Explorar el Código

fix fortune test

Damien Solimando hace 9 años
padre
commit
6dedc10173
Se han modificado 1 ficheros con 3 adiciones y 14 borrados
  1. 3 14
      frameworks/Groovy/hot/shows/example.show.groovy

+ 3 - 14
frameworks/Groovy/hot/shows/example.show.groovy

@@ -9,20 +9,9 @@ def generate = {
 	Math.max(generator.nextInt(10000),1)
 }
 
-def templateHeader = """
-<!DOCTYPE html>
-<html>
-<head><title>Fortunes</title></head>
-<body>
-<table>
-<tr><th>id</th><th>message</th></tr>
-"""
-
-def templateTail = """
-</table>
-</body>
-</html>
-"""
+def templateHeader = """<!DOCTYPE html><html><head><title>Fortunes</title></head><body><table><tr><th>id</th><th>message</th></tr>"""
+
+def templateTail = """</table></body></html>"""
 
 def validateNumQueries = {
 	Integer numQueries