h1-with-equals.js revision 877:cf4d2252d444
1217309Snwhitehorn/*
2217309Snwhitehorn * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
3217309Snwhitehorn * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4217309Snwhitehorn *
5217309Snwhitehorn * This code is free software; you can redistribute it and/or modify it
6217309Snwhitehorn * under the terms of the GNU General Public License version 2 only, as
7217309Snwhitehorn * published by the Free Software Foundation.
8217309Snwhitehorn *
9217309Snwhitehorn * This code is distributed in the hope that it will be useful, but WITHOUT
10217309Snwhitehorn * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11217309Snwhitehorn * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12217309Snwhitehorn * version 2 for more details (a copy is included in the LICENSE file that
13217309Snwhitehorn * accompanied this code).
14217309Snwhitehorn *
15217309Snwhitehorn * You should have received a copy of the GNU General Public License version
16217309Snwhitehorn * 2 along with this work; if not, write to the Free Software Foundation,
17217309Snwhitehorn * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18217309Snwhitehorn *
19217309Snwhitehorn * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20217309Snwhitehorn * or visit www.oracle.com if you need additional information or have any
21217309Snwhitehorn * questions.
22 */
23
24/**
25 * Test for Showdown markdown parser work with Nashorn.
26 *
27 * @test
28 * @run
29 */
30
31var input = "This is an H1\n=============";
32var output = converter.makeHtml(input);
33print(output);
34