mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-21 06:45:21 -06:00
21 lines
612 B
C
21 lines
612 B
C
/*****************************************************************************
|
|
* Test cases for libxlsxwriter.
|
|
*
|
|
* Test to compare output against Excel files.
|
|
*
|
|
* Copyright 2014-2016, John McNamara, jmcnamara@cpan.org
|
|
*
|
|
*/
|
|
|
|
#include "xlsxwriter.h"
|
|
|
|
int main() {
|
|
|
|
lxw_workbook *workbook = new_workbook("test_escapes08.xlsx");
|
|
lxw_worksheet *worksheet = workbook_add_worksheet(workbook, NULL);
|
|
|
|
/* Test an already escaped string. */
|
|
worksheet_write_url_opt(worksheet, CELL("A1"), "http://example.com/%5b0%5d", NULL, "http://example.com/[0]", NULL);
|
|
|
|
return workbook_close(workbook);
|
|
}
|