Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changeset 642

Show
Ignore:
Timestamp:
08/28/10 20:20:37 (14 years ago)
Author:
braddr
Message:

Set runnable/testhtml2.html to mime-type application/octet-stream to preserve mixed line endings
Add json test

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/runnable/testhtml2.html

    • Property svn:mime-type set to application/octet-stream
    • Property svn:eol-style deleted
    r641 r642  
    1 <!-- REQUIRED_ARGS: -d 
    2      PERMUTE_ARGS: 
    3  --><html> 
     1<!-- 
     2REQUIRED_ARGS: -d 
     3PERMUTE_ARGS: 
     4--><html> 
    45    <head><title>dstress: html_line_ending_mac</title></head> 
    56    <body><pre><CODE> 
    67// __DSTRESS_TORTURE_BLOCK__ -release 
    78 int main(){ 
    89    try{ 
    910        assert(0); 
    1011    }catch(Throwable e){ 
    1112        checkLineNumber(e); 
    1213        return 0; 
    1314    } 
    1415    assert(-1, "b"); 
    1516    return 1; 
    1617} 
    1718 
    1819/* 
    1920 * @WARNING@ this code depends on the phobos implementation. 
    2021 * char[]s returned by wrong assertions have to look like: 
    2122 *   "blah blah (linenumber) blah blah" 
    2223 */ 
    2324void checkLineNumber(Object o){