quickbook/test/code-1_1.quickbook
Daniel James 152fe4fa5d Quickbook: Rename and rearrange some tests.
- More consistent names.
- Not using `.` in basename.
- Run the quickbook manual test last (as when there's an error, the more
  specific tests are more informative).
- Combine some of the code tests.

[SVN r75235]
2011-11-01 19:20:46 +00:00

52 lines
617 B
Plaintext

[article Code Block]
[section Test 1]
A code block with proper indentation ;-)
#include <iostream>
int main()
{
std::cout << "Hello, World!" << std::endl;
return 0;
}
[endsect]
[section Test 2]
A code block with proper indentation ;-)
``
#include <iostream>
int main()
{
std::cout << "Hello, World!" << std::endl;
return 0;
}
``
[endsect]
[section Test 3]
[python]
``
print "\xfabln\xeck"
``
[endsect]
[section Test 4]
This isn't valid C++ but I think we should accept it;
[c++]
``
std::cout<<"\xfabln\xeck"<<"\n";
``
[endsect]