interplane.Get Omega
Read in your language

sqlite

[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.

Brought by drakestapleton

branch master Branches Tags History

sqlite / test / literal2.tcl

40 lines · 1067 bytes Raw Blame History
1# 2018 May 19
2#
3# The author disclaims copyright to this source code. In place of
4# a legal notice, here is a blessing:
5#
6# May you do good and not evil.
7# May you find forgiveness for yourself and forgive others.
8# May you share freely, never taking more than you give.
9#
10#***********************************************************************
11#
12
13source [file join [file dirname $argv0] pg_common.tcl]
14
15#=========================================================================
16
17
18start_test literal2 "2024 Jan 23"
19
20execsql_test 1.0 { SELECT 123_456 }
21errorsql_test 1.1 { SELECT 123__456 }
22
23execsql_float_test 2.1 { SELECT 1.0e1_2 }
24
25
26execsql_test 3.0.0 { SELECT 0xFF_FF }
27execsql_test 3.0.1 { SELECT 0xFF_EF }
28errorsql_test 3.0.2 { SELECT 0xFF__EF }
29# errorsql_test 3.0.3 { SELECT 0x_FFEF }
30errorsql_test 3.0.4 { SELECT 0xFFEF_ }
31
32execsql_test 3.1.0 { SELECT 0XFF_FF }
33execsql_test 3.1.1 { SELECT 0XFF_EF }
34errorsql_test 3.1.2 { SELECT 0XFF__EF }
35# errorsql_test 3.1.3 { SELECT 0X_FFEF }
36errorsql_test 3.1.4 { SELECT 0XFFEF_ }
37
38finish_test
39
40