()
| 1885 | |
| 1886 | #[test] |
| 1887 | fn test_ipython_escape_command() { |
| 1888 | let source = r" |
| 1889 | ?foo |
| 1890 | ??foo |
| 1891 | %timeit a = b |
| 1892 | %timeit a % 3 |
| 1893 | %matplotlib \ |
| 1894 | --inline |
| 1895 | !pwd \ |
| 1896 | && ls -a | sed 's/^/\\ /' |
| 1897 | !!cd /Users/foo/Library/Application\ Support/ |
| 1898 | /foo 1 2 |
| 1899 | ,foo 1 2 |
| 1900 | ;foo 1 2 |
| 1901 | !ls |
| 1902 | " |
| 1903 | .trim(); |
| 1904 | assert_snapshot!(lex_jupyter_source(source)); |
| 1905 | } |
| 1906 | |
| 1907 | #[test] |
| 1908 | fn test_ipython_help_end_escape_command() { |
nothing calls this directly
no outgoing calls
no test coverage detected