Browse Source

verify Fixed a few plaintext tests

Mike Smith 11 years ago
parent
commit
ceb508427d

+ 1 - 1
grails/hello/grails-app/controllers/hello/HelloController.groovy

@@ -96,6 +96,6 @@ class HelloController {
     
     
     // Test type 6: Plaintext
     // Test type 6: Plaintext
     def plaintext() {
     def plaintext() {
-        render text:'Hello, world', contentType:'text/plain'
+        render text:'Hello, World!', contentType:'text/plain'
     }
     }
 }
 }

+ 1 - 1
ringojs-convenient/app/views.js

@@ -44,7 +44,7 @@ app.get('/plaintext', function() {
    return {
    return {
      status: 200,
      status: 200,
      headers: {"Content-Type": 'text/plain'},
      headers: {"Content-Type": 'text/plain'},
-     body: ['Hello World']
+     body: ['Hello, World!']
    };
    };
 });
 });
 
 

+ 1 - 1
ringojs/ringo-main.js

@@ -83,7 +83,7 @@ exports.app = function(req) {
       return {
       return {
         status: 200,
         status: 200,
         headers: {"Content-Type": 'text/plain'},
         headers: {"Content-Type": 'text/plain'},
-        body: ['Hello World']
+        body: ['Hello, World!']
       };
       };
    } else if (path === '/updates') {
    } else if (path === '/updates') {
       var queryCount = parseInt(req.env.servletRequest.getParameter('queries'), 10);
       var queryCount = parseInt(req.env.servletRequest.getParameter('queries'), 10);