Selaa lähdekoodia

fix fortune test

Damien Solimando 9 vuotta sitten
vanhempi
commit
6dedc10173
1 muutettua tiedostoa jossa 3 lisäystä ja 14 poistoa
  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